summaryrefslogtreecommitdiffstats
path: root/t/t9120-git-svn-clone-with-percent-escapes.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-09-07 01:46:36 +0200
committerJunio C Hamano <gitster@pobox.com>2010-09-07 01:46:36 +0200
commit347c47e61e5daf1efb3503724a431e4316c6eb5b (patch)
treef5c0c4da1c77b79cfa2831cfa2a55956d7be7528 /t/t9120-git-svn-clone-with-percent-escapes.sh
parentt3404 & t7508: cd inside subshell instead of around (diff)
parentSeveral tests: cd inside subshell instead of around (diff)
downloadgit-347c47e61e5daf1efb3503724a431e4316c6eb5b.tar.xz
git-347c47e61e5daf1efb3503724a431e4316c6eb5b.zip
Merge branch 'jl/maint-fix-test'
* jl/maint-fix-test: Several tests: cd inside subshell instead of around Conflicts: t/t9600-cvsimport.sh
Diffstat (limited to 't/t9120-git-svn-clone-with-percent-escapes.sh')
-rwxr-xr-xt/t9120-git-svn-clone-with-percent-escapes.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t9120-git-svn-clone-with-percent-escapes.sh b/t/t9120-git-svn-clone-with-percent-escapes.sh
index 9d9ebd533c..cddb9d4fc4 100755
--- a/t/t9120-git-svn-clone-with-percent-escapes.sh
+++ b/t/t9120-git-svn-clone-with-percent-escapes.sh
@@ -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...