tests: use "git xyzzy" form (t7000 - t7199)
PATCH 3/4 tests: use "git xyzzy" form (t7000 - t7199)
Converts tests between t7001-t7103.
Signed-off-by Nanako Shiraishi <[email protected]>
--- t/t7001-mv.sh | 12 +- t/t7003-filter-branch.sh | 22 ++-- t/t7004-tag.sh | 318 +++++++++++++++++++++++----------------------- t/t7101-reset.sh | 8 +- t/t7102-reset.sh | 4 +- t/t7103-reset-bare.sh | 2 +- 6 files changed, 183 insertions(+), 183 deletions(-)
t/t7001-mv.sh +6 -6
@@ -10,3 +10,3 @@ test_expect_success \ git add path0/COPYING && - git-commit -m add -a' + git commit -m add -a'
@@ -19,3 +19,3 @@ test_expect_success \ 'commiting the change' \ - 'cd .. && git-commit -m move-out -a' + 'cd .. && git commit -m move-out -a'
@@ -33,3 +33,3 @@ test_expect_success \ 'commiting the change' \ - 'cd .. && git-commit -m move-in -a' + 'cd .. && git commit -m move-in -a'
@@ -44,3 +44,3 @@ test_expect_success \ git add path0/README && - git-commit -m add2 -a' + git commit -m add2 -a'
@@ -52,3 +52,3 @@ test_expect_success \ 'commiting the change' \ - 'git-commit -m dir-move -a' + 'git commit -m dir-move -a'
@@ -71,3 +71,3 @@ test_expect_success \ 'commiting the change' \ - 'git-commit -m dir-move -a' + 'git commit -m dir-move -a'
t/t7003-filter-branch.sh +11 -11
@@ -2,3 +2,3 @@ -test_description='git-filter-branch' +test_description='git filter-branch' . ./test-lib.sh
@@ -34,3 +34,3 @@ H=$(git rev-parse H) test_expect_success 'rewrite identically' ' - git-filter-branch branch + git filter-branch branch '
@@ -41,3 +41,3 @@ test_expect_success 'result is really identical' ' test_expect_success 'rewrite bare repository identically' ' - (git config core.bare true && cd .git && git-filter-branch branch) + (git config core.bare true && cd .git && git filter-branch branch) '
@@ -49,3 +49,3 @@ test_expect_success 'result is really identical' ' test_expect_success 'rewrite, renaming a specific file' ' - git-filter-branch -f --tree-filter "mv d doh || :" HEAD + git filter-branch -f --tree-filter "mv d doh || :" HEAD '
@@ -60,3 +60,3 @@ test_expect_success 'test that the file was renamed' ' test_expect_success 'rewrite, renaming a specific directory' ' - git-filter-branch -f --tree-filter "mv dir diroh || :" HEAD + git filter-branch -f --tree-filter "mv dir diroh || :" HEAD '
@@ -75,3 +75,3 @@ test_expect_success 'rewrite one branch, keeping a side branch' ' git branch modD oldD && - git-filter-branch -f --tree-filter "mv b boh || :" D..modD + git filter-branch -f --tree-filter "mv b boh || :" D..modD '
@@ -99,3 +99,3 @@ test_expect_success 'filter subdirectory only' ' git branch sub-earlier HEAD~2 && - git-filter-branch -f --subdirectory-filter subdir \ + git filter-branch -f --subdirectory-filter subdir \ refs/heads/sub refs/heads/sub-earlier
@@ -126,3 +126,3 @@ test_expect_success 'use index-filter to move into a subdirectory' ' git branch directorymoved && - git-filter-branch -f --index-filter \ + git filter-branch -f --index-filter \ "git ls-files -s | sed \"s-\\t-&newsubdir/-\" |
@@ -135,3 +135,3 @@ test_expect_success 'stops when msg filter fails' ' old=$(git rev-parse HEAD) && - test_must_fail git-filter-branch -f --msg-filter false HEAD && + test_must_fail git filter-branch -f --msg-filter false HEAD && test $old = $(git rev-parse HEAD) &&
@@ -146,3 +146,3 @@ test_expect_success 'author information is preserved' ' git branch preserved-author && - git-filter-branch -f --msg-filter "cat; \ + git filter-branch -f --msg-filter "cat; \ test \$GIT_COMMIT != $(git rev-parse master) || \
@@ -158,3 +158,3 @@ test_expect_success "remove a certain author's commits" ' git branch removed-author && - git-filter-branch -f --commit-filter "\ + git filter-branch -f --commit-filter "\ if [ \"\$GIT_AUTHOR_NAME\" = \"B V Uips\" ];\
t/t7004-tag.sh +159 -159
579 lines not on this page · raw message
t/t7101-reset.sh +4 -4
@@ -5,3 +5,3 @@ -test_description='git-reset should cull empty subdirs' +test_description='git reset should cull empty subdirs' . ./test-lib.sh
@@ -13,3 +13,3 @@ test_expect_success \ git add path0/COPYING && - git-commit -m add -a' + git commit -m add -a'
@@ -27,3 +27,3 @@ test_expect_success \ git add path0/COPYING-TOO && - git-commit -m change -a' + git commit -m change -a'
@@ -31,3 +31,3 @@ test_expect_success \ 'resetting tree HEAD^' \ - 'git-reset --hard HEAD^' + 'git reset --hard HEAD^'
t/t7102-reset.sh +2 -2
@@ -5,5 +5,5 @@ -test_description='git-reset +test_description='git reset -Documented tests for git-reset' +Documented tests for git reset'
t/t7103-reset-bare.sh +1 -1
@@ -2,3 +2,3 @@ -test_description='git-reset in a bare repository' +test_description='git reset in a bare repository' . ./test-lib.sh
Signature · 5 lines
1.6.0.1 -- Nanako Shiraishi http://ivory.ap.teacup.com/nanako3/