Merge branch 'fc/send-email-no-sender-prompt'
[gitweb.git] / t / t9114-git-svn-dcommit-merge.sh
index 61d7781616eed4374c014cabd75a297c2baa348d..3077851015879fc147ded9bb573d02c13967eec9 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright (c) 2007 Eric Wong
 # Based on a script by Joakim Tjernlund <joakim.tjernlund@transmode.se>
 
-test_description='git-svn dcommit handles merges'
+test_description='git svn dcommit handles merges'
 
 . ./lib-git-svn.sh
 
@@ -35,13 +35,14 @@ EOF
 }
 
 test_expect_success 'setup svn repository' '
-       svn co "$svnrepo" mysvnwork &&
+       svn_cmd co "$svnrepo" mysvnwork &&
        mkdir -p mysvnwork/trunk &&
-       cd mysvnwork &&
-               big_text_block >> trunk/README &&
-               svn add trunk &&
-               svn ci -m "first commit" trunk &&
-               cd ..
+       (
+               cd mysvnwork &&
+               big_text_block >>trunk/README &&
+               svn_cmd add trunk &&
+               svn_cmd ci -m "first commit" trunk
+       )
        '
 
 test_expect_success 'setup git mirror and merge' '