summaryrefslogtreecommitdiffstats
path: root/t/t9115-git-svn-dcommit-funky-renames.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/t9115-git-svn-dcommit-funky-renames.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/t9115-git-svn-dcommit-funky-renames.sh')
-rwxr-xr-xt/t9115-git-svn-dcommit-funky-renames.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t9115-git-svn-dcommit-funky-renames.sh b/t/t9115-git-svn-dcommit-funky-renames.sh
index 767799e7a7..9fdbc9bc95 100755
--- a/t/t9115-git-svn-dcommit-funky-renames.sh
+++ b/t/t9115-git-svn-dcommit-funky-renames.sh
@@ -61,11 +61,11 @@ test_expect_success 'add a file with plus signs' '
test_expect_success 'clone the repository to test rebase' '
git svn clone "$svnrepo" test-rebase &&
- cd test-rebase &&
+ (cd test-rebase &&
echo test-rebase > test-rebase &&
git add test-rebase &&
- git commit -m test-rebase &&
- cd ..
+ git commit -m test-rebase
+ )
'
test_expect_success 'make a commit to test rebase' '