Fourth batch
[gitweb.git] / t / t9020-remote-svn.sh
index d7be66a1d66006b099ff98225efb3ed1849f7b30..6fca08e5e35bd35cab5b97654b4a852ac28c9a34 100755 (executable)
@@ -24,9 +24,9 @@ init_git () {
        rm -fr .git &&
        git init &&
        #git remote add svnsim testsvn::sim:///$TEST_DIRECTORY/t9020/example.svnrdump
-       # let's reuse an exisiting dump file!?
-       git remote add svnsim testsvn::sim://$TEST_DIRECTORY/t9154/svn.dump
-       git remote add svnfile testsvn::file://$TEST_DIRECTORY/t9154/svn.dump
+       # let's reuse an existing dump file!?
+       git remote add svnsim "testsvn::sim://$TEST_DIRECTORY/t9154/svn.dump"
+       git remote add svnfile "testsvn::file://$TEST_DIRECTORY/t9154/svn.dump"
 }
 
 if test -e "$GIT_BUILD_DIR/git-remote-testsvn"
@@ -36,8 +36,8 @@ fi
 
 test_debug '
        git --version
-       which git
-       which svnrdump
+       type git
+       type svnrdump
 '
 
 test_expect_success REMOTE_SVN 'simple fetch' '
@@ -74,7 +74,8 @@ test_expect_success REMOTE_SVN 'mark-file regeneration' '
 '
 
 test_expect_success REMOTE_SVN 'incremental imports must lead to the same head' '
-       export SVNRMAX=3 &&
+       SVNRMAX=3 &&
+       export SVNRMAX &&
        init_git &&
        git fetch svnsim &&
        test_cmp .git/refs/svn/svnsim/master .git/refs/remotes/svnsim/master  &&