X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft9001-send-email.sh;h=c09f37528811f9395d63e3f3acd1f598307983a2;hb=c06951894ac943b2aaa288b0e9dc1eb605dfb7b6;hp=fb51ab3dbea92be5f345517e35c2fcc432c59f45;hpb=261fbda903762b9c47e4138312673ea25555d9e5;p=git.git diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index fb51ab3db..c09f37528 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -186,8 +186,8 @@ test_expect_success 'Prompting works' ' --smtp-server="$(pwd)/fake.sendmail" \ $patches \ 2>errors && - grep "^From: Example $" msgtxt1 && - grep "^To: to@example.com$" msgtxt1 + grep "^From: Example \$" msgtxt1 && + grep "^To: to@example.com\$" msgtxt1 ' test_expect_success 'cccmd works' ' @@ -236,7 +236,7 @@ test_expect_success 'Author From: in message body' ' --to=nobody@example.com \ --smtp-server="$(pwd)/fake.sendmail" \ $patches && - sed "1,/^$/d" < msgtxt1 > msgbody1 + sed "1,/^\$/d" < msgtxt1 > msgbody1 grep "From: A " msgbody1 ' @@ -247,7 +247,7 @@ test_expect_success 'Author From: not in message body' ' --to=nobody@example.com \ --smtp-server="$(pwd)/fake.sendmail" \ $patches && - sed "1,/^$/d" < msgtxt1 > msgbody1 + sed "1,/^\$/d" < msgtxt1 > msgbody1 ! grep "From: A " msgbody1 ' @@ -827,7 +827,7 @@ test_expect_success 'no warning with an explicit --no-chain-reply-to' ' --dry-run \ --from="Example " \ --to=nobody@example.com \ - --no-chain-reply-to \ + --nochain-reply-to \ outdir/000?-*.patch 2>errors >out && ! grep "no-chain-reply-to" errors '