]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t9120-git-svn-clone-with-percent-escapes.sh
Several tests: cd inside subshell instead of around
[thirdparty/git.git] / t / t9120-git-svn-clone-with-percent-escapes.sh
index 9d9ebd533cbcbcfc1e23be51bad1e63f4f08c53b..cddb9d4fc4c8aa9f62aec039938e71d79e5853b5 100755 (executable)
@@ -20,9 +20,9 @@ test_expect_success 'setup svnrepo' '
 
 test_expect_success 'test clone with percent escapes' '
        git svn clone "$svnrepo/pr%20ject" clone &&
-       cd clone &&
-               git rev-parse refs/${remotes_git_svn} &&
-       cd ..
+       (cd clone &&
+               git rev-parse refs/${remotes_git_svn}
+       )
 '
 
 # SVN works either way, so should we...