]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t9114-git-svn-dcommit-merge.sh
Several tests: cd inside subshell instead of around
[thirdparty/git.git] / t / t9114-git-svn-dcommit-merge.sh
index 84f7c9b4bb00931b57740be32ce7ee29bbb26694..a7d0c7d99e936a98e2c45a4fd2999de254b92ff8 100755 (executable)
@@ -37,11 +37,11 @@ EOF
 test_expect_success 'setup svn repository' '
        svn_cmd co "$svnrepo" mysvnwork &&
        mkdir -p mysvnwork/trunk &&
-       cd mysvnwork &&
+       (cd mysvnwork &&
                big_text_block >> trunk/README &&
                svn_cmd add trunk &&
-               svn_cmd ci -m "first commit" trunk &&
-               cd ..
+               svn_cmd ci -m "first commit" trunk
+               )
        '
 
 test_expect_success 'setup git mirror and merge' '