tests: subshell indentation stylefix
Format the subshells introduced by the previous patch (Several tests: cd inside subshell instead of around, 2010-09-06) like so: ( cd subdir && ... ) && This is generally easier to read and has the nice side-effect that this patch will show what commands are used in the subshell, making it easier to check for lost environment variables and similar behavior changes. Cc: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
347c47e61e
commit
18a8269242
@@ -37,11 +37,12 @@ EOF
|
||||
test_expect_success 'setup svn repository' '
|
||||
svn_cmd co "$svnrepo" mysvnwork &&
|
||||
mkdir -p mysvnwork/trunk &&
|
||||
(cd mysvnwork &&
|
||||
big_text_block >> trunk/README &&
|
||||
(
|
||||
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' '
|
||||
|
||||
Reference in New Issue
Block a user