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>
Jeff King committed
Jan 21, 2008 at 22:23 UTC
c0d4528119c237a9939175adcf0113ee43a20438
1 file changed
+4
-4
t/t9001-send-email.sh
+4
-4
@@ -8,7 +8,7 @@ test_expect_success \
8
'prepare reference tree' \
9
'echo "1A quick brown fox jumps over the" >file &&
10
echo "lazy dog" >>file &&
11
- git add file
11
+ git add file &&
12
GIT_AUTHOR_NAME="A" git commit -a -m "Initial."'
13
14
test_expect_success \
@@ -20,9 +20,9 @@ test_expect_success \
20
echo " echo \"!\$a!\""
21
echo "done >commandline"
22
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 &&
26
GIT_AUTHOR_NAME="A" git commit -a -m "Second."'
27
28
test_expect_success 'Extract patches' '