Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t9001: add missing && operators
author
Jeff King
<peff@peff.net>
Tue, 22 Jan 2008 03:23:53 +0000
(22:23 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 28 Jan 2008 19:02:59 +0000
(11:02 -0800)
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>
t/t9001-send-email.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
bf5aeb1
)
diff --git
a/t/t9001-send-email.sh
b/t/t9001-send-email.sh
index 4f6822f2c5d717edd20cb97e49fad3017d34897e..08f7c3d8d7666aeb7a116f475127c9c183e64d5a 100755
(executable)
--- 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 &&
'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 \
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"
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' '
GIT_AUTHOR_NAME="A" git commit -a -m "Second."'
test_expect_success 'Extract patches' '