Skip to content

Commit c0d4528

Browse files
peffgitster
authored andcommitted
t9001: add missing && operators
The exit value of some commands was not being used for the test output. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent bf5aeb1 commit c0d4528

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t9001-send-email.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test_expect_success \
88
'prepare reference tree' \
99
'echo "1A quick brown fox jumps over the" >file &&
1010
echo "lazy dog" >>file &&
11-
git add file
11+
git add file &&
1212
GIT_AUTHOR_NAME="A" git commit -a -m "Initial."'
1313

1414
test_expect_success \
@@ -20,9 +20,9 @@ test_expect_success \
2020
echo " echo \"!\$a!\""
2121
echo "done >commandline"
2222
echo "cat > msgtxt"
23-
) >fake.sendmail
24-
chmod +x ./fake.sendmail
25-
git add fake.sendmail
23+
) >fake.sendmail &&
24+
chmod +x ./fake.sendmail &&
25+
git add fake.sendmail &&
2626
GIT_AUTHOR_NAME="A" git commit -a -m "Second."'
2727

2828
test_expect_success 'Extract patches' '

0 commit comments

Comments
 (0)