t/t91XX git-svn tests: run "git svn" not "git-svn"
This replaces 'git-svn' with 'git svn' in the tests.
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Nanako Shiraishi17 years agocommitted byJunio C Hamano
@ -216,7 +216,7 @@ test_expect_success "$name" "test_cmp a expected"
@@ -216,7 +216,7 @@ test_expect_success "$name" "test_cmp a expected"
test_expect_success 'exit if remote refs are ambigious' "
git config --add svn-remote.svn.fetch \
bar:refs/${remotes_git_svn} &&
test_must_fail git-svn migrate
test_must_fail git svn migrate
"
test_expect_success 'exit if init-ing a would clobber a URL' '
@ -224,12 +224,12 @@ test_expect_success 'exit if init-ing a would clobber a URL' '
@@ -224,12 +224,12 @@ test_expect_success 'exit if init-ing a would clobber a URL' '
svn mkdir -m "mkdir bar" "${svnrepo}2/bar" &&
git config --unset svn-remote.svn.fetch \
"^bar:refs/${remotes_git_svn}$" &&
test_must_fail git-svn init "${svnrepo}2/bar"
test_must_fail git svn init "${svnrepo}2/bar"
'
test_expect_success \
'init allows us to connect to another directory in the same repo' '
git-svn init --minimize-url -i bar "$svnrepo/bar" &&
git svn init --minimize-url -i bar "$svnrepo/bar" &&
test_expect_success 'able to dcommit to a subdirectory' "
git-svn fetch -i bar &&
git svn fetch -i bar &&
git checkout -b my-bar refs/remotes/bar &&
echo abc > d &&
git update-index --add d &&
git commit -m '/bar/d should be in the log' &&
git-svn dcommit -i bar &&
git svn dcommit -i bar &&
test -z \"\`git diff refs/heads/my-bar refs/remotes/bar\`\" &&
mkdir newdir &&
echo new > newdir/dir &&
git update-index --add newdir/dir &&
git commit -m 'add a new directory' &&
git-svn dcommit -i bar &&
git svn dcommit -i bar &&
test -z \"\`git diff refs/heads/my-bar refs/remotes/bar\`\" &&
echo foo >> newdir/dir &&
git update-index newdir/dir &&
git commit -m 'modify a file in new directory' &&
git-svn dcommit -i bar &&
git svn dcommit -i bar &&
test -z \"\`git diff refs/heads/my-bar refs/remotes/bar\`\"
"
@ -261,7 +261,7 @@ test_expect_success 'able to set-tree to a subdirectory' "
@@ -261,7 +261,7 @@ test_expect_success 'able to set-tree to a subdirectory' "
echo cba > d &&
git update-index d &&
git commit -m 'update /bar/d' &&
git-svn set-tree -i bar HEAD &&
git svn set-tree -i bar HEAD &&
test -z \"\`git diff refs/heads/my-bar refs/remotes/bar\`\"
test "`git cat-file blob refs/remotes/thunk:readme |\
@ -43,7 +43,7 @@ test_expect_success 'init and fetch from one svn-remote' '
@@ -43,7 +43,7 @@ test_expect_success 'init and fetch from one svn-remote' '
trunk:refs/remotes/svn/trunk &&
git config --add svn-remote.svn.fetch \
thunk:refs/remotes/svn/thunk &&
git-svn fetch -i svn/thunk &&
git svn fetch -i svn/thunk &&
test "`git rev-parse --verify refs/remotes/svn/trunk`" \
@ -151,19 +151,19 @@ test_expect_success "track initial change if it was only made to parent" '
@@ -151,19 +151,19 @@ test_expect_success "track initial change if it was only made to parent" '
test_expect_success 'dcommit fails to commit because of conflict' '
git-svn init "$svnrepo" &&
git-svn fetch &&
git svn init "$svnrepo" &&
git svn fetch &&
git reset --hard refs/${remotes_git_svn} &&
svn co "$svnrepo" t.svn &&
cd t.svn &&
@ -52,7 +52,7 @@ test_expect_success 'dcommit fails to commit because of conflict' '
@@ -52,7 +52,7 @@ test_expect_success 'dcommit fails to commit because of conflict' '
rm -rf t.svn &&
echo "fourth line from git" >> file &&
git commit -a -m "fourth line from git" &&
test_must_fail git-svn dcommit
test_must_fail git svn dcommit
'
test_expect_success 'dcommit does the svn equivalent of an index merge' "
@ -63,7 +63,7 @@ test_expect_success 'dcommit does the svn equivalent of an index merge' "
@@ -63,7 +63,7 @@ test_expect_success 'dcommit does the svn equivalent of an index merge' "
echo 'more changes' >> file2 &&
git update-index file2 &&
git commit -a -m 'more changes' &&
git-svn dcommit
git svn dcommit
"
test_expect_success 'commit another change from svn side' '
@ -76,7 +76,7 @@ test_expect_success 'commit another change from svn side' '
@@ -76,7 +76,7 @@ test_expect_success 'commit another change from svn side' '
rm -rf t.svn
'
test_expect_success 'multiple dcommit from git-svn will not clobber svn' "
test_expect_success 'multiple dcommit from git svn will not clobber svn' "