* ao/t9001-fix:
  t/t9001-send-email.sh: fix '&&' chain in some tests
This commit is contained in:
Junio C Hamano 2011-01-05 13:31:25 -08:00
Родитель 9e98354ab9 cc7e81674b
Коммит d3cae60efc
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -265,7 +265,7 @@ test_expect_success $PREREQ 'Author From: in message body' '
--to=nobody@example.com \ --to=nobody@example.com \
--smtp-server="$(pwd)/fake.sendmail" \ --smtp-server="$(pwd)/fake.sendmail" \
$patches && $patches &&
sed "1,/^\$/d" < msgtxt1 > msgbody1 sed "1,/^\$/d" < msgtxt1 > msgbody1 &&
grep "From: A <author@example.com>" msgbody1 grep "From: A <author@example.com>" msgbody1
' '
@ -276,7 +276,7 @@ test_expect_success $PREREQ 'Author From: not in message body' '
--to=nobody@example.com \ --to=nobody@example.com \
--smtp-server="$(pwd)/fake.sendmail" \ --smtp-server="$(pwd)/fake.sendmail" \
$patches && $patches &&
sed "1,/^\$/d" < msgtxt1 > msgbody1 sed "1,/^\$/d" < msgtxt1 > msgbody1 &&
! grep "From: A <author@example.com>" msgbody1 ! grep "From: A <author@example.com>" msgbody1
' '
@ -298,7 +298,7 @@ test_expect_success $PREREQ 'Invalid In-Reply-To' '
--in-reply-to=" " \ --in-reply-to=" " \
--smtp-server="$(pwd)/fake.sendmail" \ --smtp-server="$(pwd)/fake.sendmail" \
$patches \ $patches \
2>errors 2>errors &&
! grep "^In-Reply-To: < *>" msgtxt1 ! grep "^In-Reply-To: < *>" msgtxt1
' '
@ -617,7 +617,7 @@ EOF
" "
test_expect_success $PREREQ '--suppress-cc=sob' ' test_expect_success $PREREQ '--suppress-cc=sob' '
git config --unset sendemail.cccmd test_might_fail git config --unset sendemail.cccmd &&
test_suppression sob test_suppression sob
' '