t9001: style modernisation phase #2

Indent is done with HTs, not a run of SPs. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Nov 25, 2014 at 14:14 UTC 03335f22959d4ca0176a3073e1670380d3294711
1 file changed +151 -151
t/t9001-send-email.sh
+151 -151
@@ -7,26 +7,26 @@ test_description='git send-email'
7 PREREQ="PERL"
8
9 test_expect_success $PREREQ 'prepare reference tree' '
10 - echo "1A quick brown fox jumps over the" >file &&
11 - echo "lazy dog" >>file &&
12 - git add file &&
13 - GIT_AUTHOR_NAME="A" git commit -a -m "Initial."
10 + echo "1A quick brown fox jumps over the" >file &&
11 + echo "lazy dog" >>file &&
12 + git add file &&
13 + GIT_AUTHOR_NAME="A" git commit -a -m "Initial."
14 '
15
16 test_expect_success $PREREQ 'Setup helper tool' '
17 - (echo "#!$SHELL_PATH"
18 - echo shift
19 - echo output=1
20 - echo "while test -f commandline\$output; do output=\$((\$output+1)); done"
21 - echo for a
22 - echo do
23 - echo " echo \"!\$a!\""
24 - echo "done >commandline\$output"
25 - echo "cat > msgtxt\$output"
26 - ) >fake.sendmail &&
27 - chmod +x ./fake.sendmail &&
28 - git add fake.sendmail &&
29 - GIT_AUTHOR_NAME="A" git commit -a -m "Second."
17 + (echo "#!$SHELL_PATH"
18 + echo shift
19 + echo output=1
20 + echo "while test -f commandline\$output; do output=\$((\$output+1)); done"
21 + echo for a
22 + echo do
23 + echo " echo \"!\$a!\""
24 + echo "done >commandline\$output"
25 + echo "cat > msgtxt\$output"
26 + ) >fake.sendmail &&
27 + chmod +x ./fake.sendmail &&
28 + git add fake.sendmail &&
29 + GIT_AUTHOR_NAME="A" git commit -a -m "Second."
30 '
31
32 clean_fake_sendmail() {
@@ -34,7 +34,7 @@ clean_fake_sendmail() {
34 }
35
36 test_expect_success $PREREQ 'Extract patches' '
37 - patches=`git format-patch -s --cc="One <one@example.com>" --cc=two@example.com -n HEAD^1`
37 + patches=`git format-patch -s --cc="One <one@example.com>" --cc=two@example.com -n HEAD^1`
38 '
39
40 # Test no confirm early to ensure remaining tests will not hang
@@ -82,7 +82,7 @@ test_expect_success $PREREQ 'No confirm with sendemail.confirm=never' '
82 '
83
84 test_expect_success $PREREQ 'Send patches' '
85 - git send-email --suppress-cc=sob --from="Example <nobody@example.com>" --to=nobody@example.com --smtp-server="$(pwd)/fake.sendmail" $patches 2>errors
85 + git send-email --suppress-cc=sob --from="Example <nobody@example.com>" --to=nobody@example.com --smtp-server="$(pwd)/fake.sendmail" $patches 2>errors
86 '
87
88 test_expect_success $PREREQ 'setup expect' '
@@ -99,8 +99,8 @@ test_expect_success $PREREQ 'Verify commandline' '
99 '
100
101 test_expect_success $PREREQ 'Send patches with --envelope-sender' '
102 - clean_fake_sendmail &&
103 - git send-email --envelope-sender="Patch Contributor <patch@example.com>" --suppress-cc=sob --from="Example <nobody@example.com>" --to=nobody@example.com --smtp-server="$(pwd)/fake.sendmail" $patches 2>errors
102 + clean_fake_sendmail &&
103 + git send-email --envelope-sender="Patch Contributor <patch@example.com>" --suppress-cc=sob --from="Example <nobody@example.com>" --to=nobody@example.com --smtp-server="$(pwd)/fake.sendmail" $patches 2>errors
104 '
105
106 test_expect_success $PREREQ 'setup expect' '
@@ -119,8 +119,8 @@ test_expect_success $PREREQ 'Verify commandline' '
119 '
120
121 test_expect_success $PREREQ 'Send patches with --envelope-sender=auto' '
122 - clean_fake_sendmail &&
123 - git send-email --envelope-sender=auto --suppress-cc=sob --from="Example <nobody@example.com>" --to=nobody@example.com --smtp-server="$(pwd)/fake.sendmail" $patches 2>errors
122 + clean_fake_sendmail &&
123 + git send-email --envelope-sender=auto --suppress-cc=sob --from="Example <nobody@example.com>" --to=nobody@example.com --smtp-server="$(pwd)/fake.sendmail" $patches 2>errors
124 '
125
126 test_expect_success $PREREQ 'setup expect' '
@@ -895,13 +895,13 @@ test_expect_success $PREREQ '--compose adds MIME for utf8 body' '
895 echo "echo utf8 body: àéìöú >>\"\$1\""
896 ) >fake-editor-utf8 &&
897 chmod +x fake-editor-utf8 &&
898 - GIT_EDITOR="\"$(pwd)/fake-editor-utf8\"" \
899 - git send-email \
900 - --compose --subject foo \
901 - --from="Example <nobody@example.com>" \
902 - --to=nobody@example.com \
903 - --smtp-server="$(pwd)/fake.sendmail" \
904 - $patches &&
898 + GIT_EDITOR="\"$(pwd)/fake-editor-utf8\"" \
899 + git send-email \
900 + --compose --subject foo \
901 + --from="Example <nobody@example.com>" \
902 + --to=nobody@example.com \
903 + --smtp-server="$(pwd)/fake.sendmail" \
904 + $patches &&
905 grep "^utf8 body" msgtxt1 &&
906 grep "^Content-Type: text/plain; charset=UTF-8" msgtxt1
907 '
@@ -917,13 +917,13 @@ test_expect_success $PREREQ '--compose respects user mime type' '
917 echo " echo utf8 body: àéìöú) >\"\$1\""
918 ) >fake-editor-utf8-mime &&
919 chmod +x fake-editor-utf8-mime &&
920 - GIT_EDITOR="\"$(pwd)/fake-editor-utf8-mime\"" \
921 - git send-email \
922 - --compose --subject foo \
923 - --from="Example <nobody@example.com>" \
924 - --to=nobody@example.com \
925 - --smtp-server="$(pwd)/fake.sendmail" \
926 - $patches &&
920 + GIT_EDITOR="\"$(pwd)/fake-editor-utf8-mime\"" \
921 + git send-email \
922 + --compose --subject foo \
923 + --from="Example <nobody@example.com>" \
924 + --to=nobody@example.com \
925 + --smtp-server="$(pwd)/fake.sendmail" \
926 + $patches &&
927 grep "^utf8 body" msgtxt1 &&
928 grep "^Content-Type: text/plain; charset=iso-8859-1" msgtxt1 &&
929 ! grep "^Content-Type: text/plain; charset=UTF-8" msgtxt1
@@ -931,13 +931,13 @@ test_expect_success $PREREQ '--compose respects user mime type' '
931
932 test_expect_success $PREREQ '--compose adds MIME for utf8 subject' '
933 clean_fake_sendmail &&
934 - GIT_EDITOR="\"$(pwd)/fake-editor\"" \
935 - git send-email \
936 - --compose --subject utf8-sübjëct \
937 - --from="Example <nobody@example.com>" \
938 - --to=nobody@example.com \
939 - --smtp-server="$(pwd)/fake.sendmail" \
940 - $patches &&
934 + GIT_EDITOR="\"$(pwd)/fake-editor\"" \
935 + git send-email \
936 + --compose --subject utf8-sübjëct \
937 + --from="Example <nobody@example.com>" \
938 + --to=nobody@example.com \
939 + --smtp-server="$(pwd)/fake.sendmail" \
940 + $patches &&
941 grep "^fake edit" msgtxt1 &&
942 grep "^Subject: =?UTF-8?q?utf8-s=C3=BCbj=C3=ABct?=" msgtxt1
943 '
@@ -949,9 +949,9 @@ test_expect_success $PREREQ 'utf8 author is correctly passed on' '
949 git commit --amend --author "Füñný Nâmé <odd_?=mail@example.com>" &&
950 git format-patch --stdout -1 >funny_name.patch &&
951 git send-email --from="Example <nobody@example.com>" \
952 - --to=nobody@example.com \
953 - --smtp-server="$(pwd)/fake.sendmail" \
954 - funny_name.patch &&
952 + --to=nobody@example.com \
953 + --smtp-server="$(pwd)/fake.sendmail" \
954 + funny_name.patch &&
955 grep "^From: Füñný Nâmé <odd_?=mail@example.com>" msgtxt1
956 '
957
@@ -962,9 +962,9 @@ test_expect_success $PREREQ 'utf8 sender is not duplicated' '
962 git commit --amend --author "Füñný Nâmé <odd_?=mail@example.com>" &&
963 git format-patch --stdout -1 >funny_name.patch &&
964 git send-email --from="Füñný Nâmé <odd_?=mail@example.com>" \
965 - --to=nobody@example.com \
966 - --smtp-server="$(pwd)/fake.sendmail" \
967 - funny_name.patch &&
965 + --to=nobody@example.com \
966 + --smtp-server="$(pwd)/fake.sendmail" \
967 + funny_name.patch &&
968 grep "^From: " msgtxt1 >msgfrom &&
969 test_line_count = 1 msgfrom
970 '
@@ -976,13 +976,13 @@ test_expect_success $PREREQ 'sendemail.composeencoding works' '
976 echo "echo utf8 body: àéìöú >>\"\$1\""
977 ) >fake-editor-utf8 &&
978 chmod +x fake-editor-utf8 &&
979 - GIT_EDITOR="\"$(pwd)/fake-editor-utf8\"" \
980 - git send-email \
981 - --compose --subject foo \
982 - --from="Example <nobody@example.com>" \
983 - --to=nobody@example.com \
984 - --smtp-server="$(pwd)/fake.sendmail" \
985 - $patches &&
979 + GIT_EDITOR="\"$(pwd)/fake-editor-utf8\"" \
980 + git send-email \
981 + --compose --subject foo \
982 + --from="Example <nobody@example.com>" \
983 + --to=nobody@example.com \
984 + --smtp-server="$(pwd)/fake.sendmail" \
985 + $patches &&
986 grep "^utf8 body" msgtxt1 &&
987 grep "^Content-Type: text/plain; charset=iso-8859-1" msgtxt1
988 '
@@ -993,14 +993,14 @@ test_expect_success $PREREQ '--compose-encoding works' '
993 echo "echo utf8 body: àéìöú >>\"\$1\""
994 ) >fake-editor-utf8 &&
995 chmod +x fake-editor-utf8 &&
996 - GIT_EDITOR="\"$(pwd)/fake-editor-utf8\"" \
997 - git send-email \
998 - --compose-encoding iso-8859-1 \
999 - --compose --subject foo \
1000 - --from="Example <nobody@example.com>" \
1001 - --to=nobody@example.com \
1002 - --smtp-server="$(pwd)/fake.sendmail" \
1003 - $patches &&
996 + GIT_EDITOR="\"$(pwd)/fake-editor-utf8\"" \
997 + git send-email \
998 + --compose-encoding iso-8859-1 \
999 + --compose --subject foo \
1000 + --from="Example <nobody@example.com>" \
1001 + --to=nobody@example.com \
1002 + --smtp-server="$(pwd)/fake.sendmail" \
1003 + $patches &&
1004 grep "^utf8 body" msgtxt1 &&
1005 grep "^Content-Type: text/plain; charset=iso-8859-1" msgtxt1
1006 '
@@ -1012,28 +1012,28 @@ test_expect_success $PREREQ '--compose-encoding overrides sendemail.composeencod
1012 echo "echo utf8 body: àéìöú >>\"\$1\""
1013 ) >fake-editor-utf8 &&
1014 chmod +x fake-editor-utf8 &&
1015 - GIT_EDITOR="\"$(pwd)/fake-editor-utf8\"" \
1016 - git send-email \
1017 - --compose-encoding iso-8859-2 \
1018 - --compose --subject foo \
1019 - --from="Example <nobody@example.com>" \
1020 - --to=nobody@example.com \
1021 - --smtp-server="$(pwd)/fake.sendmail" \
1022 - $patches &&
1015 + GIT_EDITOR="\"$(pwd)/fake-editor-utf8\"" \
1016 + git send-email \
1017 + --compose-encoding iso-8859-2 \
1018 + --compose --subject foo \
1019 + --from="Example <nobody@example.com>" \
1020 + --to=nobody@example.com \
1021 + --smtp-server="$(pwd)/fake.sendmail" \
1022 + $patches &&
1023 grep "^utf8 body" msgtxt1 &&
1024 grep "^Content-Type: text/plain; charset=iso-8859-2" msgtxt1
1025 '
1026
1027 test_expect_success $PREREQ '--compose-encoding adds correct MIME for subject' '
1028 clean_fake_sendmail &&
1029 - GIT_EDITOR="\"$(pwd)/fake-editor\"" \
1030 - git send-email \
1031 - --compose-encoding iso-8859-2 \
1032 - --compose --subject utf8-sübjëct \
1033 - --from="Example <nobody@example.com>" \
1034 - --to=nobody@example.com \
1035 - --smtp-server="$(pwd)/fake.sendmail" \
1036 - $patches &&
1029 + GIT_EDITOR="\"$(pwd)/fake-editor\"" \
1030 + git send-email \
1031 + --compose-encoding iso-8859-2 \
1032 + --compose --subject utf8-sübjëct \
1033 + --from="Example <nobody@example.com>" \
1034 + --to=nobody@example.com \
1035 + --smtp-server="$(pwd)/fake.sendmail" \
1036 + $patches &&
1037 grep "^fake edit" msgtxt1 &&
1038 grep "^Subject: =?iso-8859-2?q?utf8-s=C3=BCbj=C3=ABct?=" msgtxt1
1039 '
@@ -1050,10 +1050,10 @@ test_expect_success $PREREQ 'feed two files' '
1050 rm -fr outdir &&
1051 git format-patch -2 -o outdir &&
1052 git send-email \
1053 - --dry-run \
1054 - --from="Example <nobody@example.com>" \
1055 - --to=nobody@example.com \
1056 - outdir/000?-*.patch 2>errors >out &&
1053 + --dry-run \
1054 + --from="Example <nobody@example.com>" \
1055 + --to=nobody@example.com \
1056 + outdir/000?-*.patch 2>errors >out &&
1057 grep "^Subject: " out >subjects &&
1058 test "z$(sed -n -e 1p subjects)" = "zSubject: [PATCH 1/2] Second." &&
1059 test "z$(sed -n -e 2p subjects)" = "zSubject: [PATCH 2/2] add master"
@@ -1315,10 +1315,10 @@ test_expect_success $PREREQ 'sendemail.transferencoding=7bit fails on 8bit data'
1315 clean_fake_sendmail &&
1316 git config sendemail.transferEncoding 7bit &&
1317 test_must_fail git send-email \
1318 - --transfer-encoding=7bit \
1319 - --smtp-server="$(pwd)/fake.sendmail" \
1320 - email-using-8bit \
1321 - 2>errors >out &&
1318 + --transfer-encoding=7bit \
1319 + --smtp-server="$(pwd)/fake.sendmail" \
1320 + email-using-8bit \
1321 + 2>errors >out &&
1322 grep "cannot send message as 7bit" errors &&
1323 test -z "$(ls msgtxt*)"
1324 '
@@ -1327,10 +1327,10 @@ test_expect_success $PREREQ '--transfer-encoding overrides sendemail.transferEnc
1327 clean_fake_sendmail &&
1328 git config sendemail.transferEncoding 8bit
1329 test_must_fail git send-email \
1330 - --transfer-encoding=7bit \
1331 - --smtp-server="$(pwd)/fake.sendmail" \
1332 - email-using-8bit \
1333 - 2>errors >out &&
1330 + --transfer-encoding=7bit \
1331 + --smtp-server="$(pwd)/fake.sendmail" \
1332 + email-using-8bit \
1333 + 2>errors >out &&
1334 grep "cannot send message as 7bit" errors &&
1335 test -z "$(ls msgtxt*)"
1336 '
@@ -1338,10 +1338,10 @@ test_expect_success $PREREQ '--transfer-encoding overrides sendemail.transferEnc
1338 test_expect_success $PREREQ 'sendemail.transferencoding=8bit' '
1339 clean_fake_sendmail &&
1340 git send-email \
1341 - --transfer-encoding=8bit \
1342 - --smtp-server="$(pwd)/fake.sendmail" \
1343 - email-using-8bit \
1344 - 2>errors >out &&
1341 + --transfer-encoding=8bit \
1342 + --smtp-server="$(pwd)/fake.sendmail" \
1343 + email-using-8bit \
1344 + 2>errors >out &&
1345 sed '1,/^$/d' msgtxt1 >actual &&
1346 sed '1,/^$/d' email-using-8bit >expected &&
1347 test_cmp expected actual
@@ -1356,10 +1356,10 @@ EOF
1356 test_expect_success $PREREQ '8-bit and sendemail.transferencoding=quoted-printable' '
1357 clean_fake_sendmail &&
1358 git send-email \
1359 - --transfer-encoding=quoted-printable \
1360 - --smtp-server="$(pwd)/fake.sendmail" \
1361 - email-using-8bit \
1362 - 2>errors >out &&
1359 + --transfer-encoding=quoted-printable \
1360 + --smtp-server="$(pwd)/fake.sendmail" \
1361 + email-using-8bit \
1362 + 2>errors >out &&
1363 sed '1,/^$/d' msgtxt1 >actual &&
1364 test_cmp expected actual
1365 '
@@ -1373,10 +1373,10 @@ EOF
1373 test_expect_success $PREREQ '8-bit and sendemail.transferencoding=base64' '
1374 clean_fake_sendmail &&
1375 git send-email \
1376 - --transfer-encoding=base64 \
1377 - --smtp-server="$(pwd)/fake.sendmail" \
1378 - email-using-8bit \
1379 - 2>errors >out &&
1376 + --transfer-encoding=base64 \
1377 + --smtp-server="$(pwd)/fake.sendmail" \
1378 + email-using-8bit \
1379 + 2>errors >out &&
1380 sed '1,/^$/d' msgtxt1 >actual &&
1381 test_cmp expected actual
1382 '
@@ -1399,10 +1399,10 @@ EOF
1399 test_expect_success $PREREQ 'convert from quoted-printable to base64' '
1400 clean_fake_sendmail &&
1401 git send-email \
1402 - --transfer-encoding=base64 \
1403 - --smtp-server="$(pwd)/fake.sendmail" \
1404 - email-using-qp \
1405 - 2>errors >out &&
1402 + --transfer-encoding=base64 \
1403 + --smtp-server="$(pwd)/fake.sendmail" \
1404 + email-using-qp \
1405 + 2>errors >out &&
1406 sed '1,/^$/d' msgtxt1 >actual &&
1407 test_cmp expected actual
1408 '
@@ -1429,10 +1429,10 @@ EOF
1429 test_expect_success $PREREQ 'CRLF and sendemail.transferencoding=quoted-printable' '
1430 clean_fake_sendmail &&
1431 git send-email \
1432 - --transfer-encoding=quoted-printable \
1433 - --smtp-server="$(pwd)/fake.sendmail" \
1434 - email-using-crlf \
1435 - 2>errors >out &&
1432 + --transfer-encoding=quoted-printable \
1433 + --smtp-server="$(pwd)/fake.sendmail" \
1434 + email-using-crlf \
1435 + 2>errors >out &&
1436 sed '1,/^$/d' msgtxt1 >actual &&
1437 test_cmp expected actual
1438 '
@@ -1446,10 +1446,10 @@ EOF
1446 test_expect_success $PREREQ 'CRLF and sendemail.transferencoding=base64' '
1447 clean_fake_sendmail &&
1448 git send-email \
1449 - --transfer-encoding=base64 \
1450 - --smtp-server="$(pwd)/fake.sendmail" \
1451 - email-using-crlf \
1452 - 2>errors >out &&
1449 + --transfer-encoding=base64 \
1450 + --smtp-server="$(pwd)/fake.sendmail" \
1451 + email-using-crlf \
1452 + 2>errors >out &&
1453 sed '1,/^$/d' msgtxt1 >actual &&
1454 test_cmp expected actual
1455 '
@@ -1463,13 +1463,13 @@ test_expect_success $PREREQ 'refusing to send cover letter template' '
1463 rm -fr outdir &&
1464 git format-patch --cover-letter -2 -o outdir &&
1465 test_must_fail git send-email \
1466 - --from="Example <nobody@example.com>" \
1467 - --to=nobody@example.com \
1468 - --smtp-server="$(pwd)/fake.sendmail" \
1469 - outdir/0002-*.patch \
1470 - outdir/0000-*.patch \
1471 - outdir/0001-*.patch \
1472 - 2>errors >out &&
1466 + --from="Example <nobody@example.com>" \
1467 + --to=nobody@example.com \
1468 + --smtp-server="$(pwd)/fake.sendmail" \
1469 + outdir/0002-*.patch \
1470 + outdir/0000-*.patch \
1471 + outdir/0001-*.patch \
1472 + 2>errors >out &&
1473 grep "SUBJECT HERE" errors &&
1474 test -z "$(ls msgtxt*)"
1475 '
@@ -1479,14 +1479,14 @@ test_expect_success $PREREQ '--force sends cover letter template anyway' '
1479 rm -fr outdir &&
1480 git format-patch --cover-letter -2 -o outdir &&
1481 git send-email \
1482 - --force \
1483 - --from="Example <nobody@example.com>" \
1484 - --to=nobody@example.com \
1485 - --smtp-server="$(pwd)/fake.sendmail" \
1486 - outdir/0002-*.patch \
1487 - outdir/0000-*.patch \
1488 - outdir/0001-*.patch \
1489 - 2>errors >out &&
1482 + --force \
1483 + --from="Example <nobody@example.com>" \
1484 + --to=nobody@example.com \
1485 + --smtp-server="$(pwd)/fake.sendmail" \
1486 + outdir/0002-*.patch \
1487 + outdir/0000-*.patch \
1488 + outdir/0001-*.patch \
1489 + 2>errors >out &&
1490 ! grep "SUBJECT HERE" errors &&
1491 test -n "$(ls msgtxt*)"
1492 '
@@ -1501,15 +1501,15 @@ test_cover_addresses () {
1501 mv $cover cover-to-edit.patch &&
1502 perl -pe "s/^From:/$header: extra\@address.com\nFrom:/" cover-to-edit.patch >"$cover" &&
1503 git send-email \
1504 - --force \
1505 - --from="Example <nobody@example.com>" \
1506 - --no-to --no-cc \
1507 - "$@" \
1508 - --smtp-server="$(pwd)/fake.sendmail" \
1509 - outdir/0000-*.patch \
1510 - outdir/0001-*.patch \
1511 - outdir/0002-*.patch \
1512 - 2>errors >out &&
1504 + --force \
1505 + --from="Example <nobody@example.com>" \
1506 + --no-to --no-cc \
1507 + "$@" \
1508 + --smtp-server="$(pwd)/fake.sendmail" \
1509 + outdir/0000-*.patch \
1510 + outdir/0001-*.patch \
1511 + outdir/0002-*.patch \
1512 + 2>errors >out &&
1513 grep "^$header: extra@address.com" msgtxt1 >to1 &&
1514 grep "^$header: extra@address.com" msgtxt2 >to2 &&
1515 grep "^$header: extra@address.com" msgtxt3 >to3 &&
@@ -1542,11 +1542,11 @@ test_expect_success $PREREQ 'sendemail.aliasfiletype=mailrc' '
1542 git config --replace-all sendemail.aliasesfile "$(pwd)/.mailrc" &&
1543 git config sendemail.aliasfiletype mailrc &&
1544 git send-email \
1545 - --from="Example <nobody@example.com>" \
1546 - --to=sbd \
1547 - --smtp-server="$(pwd)/fake.sendmail" \
1548 - outdir/0001-*.patch \
1549 - 2>errors >out &&
1545 + --from="Example <nobody@example.com>" \
1546 + --to=sbd \
1547 + --smtp-server="$(pwd)/fake.sendmail" \
1548 + outdir/0001-*.patch \
1549 + 2>errors >out &&
1550 grep "^!somebody@example\.org!$" commandline1
1551 '
1552
@@ -1556,11 +1556,11 @@ test_expect_success $PREREQ 'sendemail.aliasfile=~/.mailrc' '
1556 git config --replace-all sendemail.aliasesfile "~/.mailrc" &&
1557 git config sendemail.aliasfiletype mailrc &&
1558 git send-email \
1559 - --from="Example <nobody@example.com>" \
1560 - --to=sbd \
1561 - --smtp-server="$(pwd)/fake.sendmail" \
1562 - outdir/0001-*.patch \
1563 - 2>errors >out &&
1559 + --from="Example <nobody@example.com>" \
1560 + --to=sbd \
1561 + --smtp-server="$(pwd)/fake.sendmail" \
1562 + outdir/0001-*.patch \
1563 + 2>errors >out &&
1564 grep "^!someone@example\.org!$" commandline1
1565 '
1566