summaryrefslogtreecommitdiff
path: root/t/t9001-send-email.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-01-22 03:23:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-01-28 19:02:59 (GMT)
commitc0d4528119c237a9939175adcf0113ee43a20438 (patch)
tree9c5334fd49406a97c7066517ab37ae503f234370 /t/t9001-send-email.sh
parentbf5aeb150681ed743d317702eaf123c34b05c311 (diff)
downloadgit-c0d4528119c237a9939175adcf0113ee43a20438.zip
git-c0d4528119c237a9939175adcf0113ee43a20438.tar.gz
git-c0d4528119c237a9939175adcf0113ee43a20438.tar.bz2
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>
Diffstat (limited to 't/t9001-send-email.sh')
-rwxr-xr-xt/t9001-send-email.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index 4f6822f..08f7c3d 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' '