From: Jeff King Date: Tue, 22 Jan 2008 03:23:53 +0000 (-0500) Subject: t9001: add missing && operators X-Git-Tag: v1.5.4~20 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c0d4528119c237a9939175adcf0113ee43a20438;p=git.git t9001: add missing && operators The exit value of some commands was not being used for the test output. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index 4f6822f2c..08f7c3d8d 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -8,7 +8,7 @@ test_expect_success \ 'prepare reference tree' \ 'echo "1A quick brown fox jumps over the" >file && echo "lazy dog" >>file && - git add file + git add file && GIT_AUTHOR_NAME="A" git commit -a -m "Initial."' test_expect_success \ @@ -20,9 +20,9 @@ test_expect_success \ echo " echo \"!\$a!\"" echo "done >commandline" echo "cat > msgtxt" - ) >fake.sendmail - chmod +x ./fake.sendmail - git add fake.sendmail + ) >fake.sendmail && + chmod +x ./fake.sendmail && + git add fake.sendmail && GIT_AUTHOR_NAME="A" git commit -a -m "Second."' test_expect_success 'Extract patches' '