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>
This commit is contained in:
Jeff King
2008-01-21 22:23:53 -05:00
committed by Junio C Hamano
parent bf5aeb1506
commit c0d4528119

View File

@ -8,7 +8,7 @@ test_expect_success \
'prepare reference tree' \ 'prepare reference tree' \
'echo "1A quick brown fox jumps over the" >file && 'echo "1A quick brown fox jumps over the" >file &&
echo "lazy dog" >>file && echo "lazy dog" >>file &&
git add file git add file &&
GIT_AUTHOR_NAME="A" git commit -a -m "Initial."' GIT_AUTHOR_NAME="A" git commit -a -m "Initial."'
test_expect_success \ test_expect_success \
@ -20,9 +20,9 @@ test_expect_success \
echo " echo \"!\$a!\"" echo " echo \"!\$a!\""
echo "done >commandline" echo "done >commandline"
echo "cat > msgtxt" echo "cat > msgtxt"
) >fake.sendmail ) >fake.sendmail &&
chmod +x ./fake.sendmail chmod +x ./fake.sendmail &&
git add fake.sendmail git add fake.sendmail &&
GIT_AUTHOR_NAME="A" git commit -a -m "Second."' GIT_AUTHOR_NAME="A" git commit -a -m "Second."'
test_expect_success 'Extract patches' ' test_expect_success 'Extract patches' '