@@ -31,7 +31,7 @@ test_expect_success $PREREQ 'Setup helper tool' '
31
31
GIT_AUTHOR_NAME="A" git commit -a -m "Second."
32
32
'
33
33
34
- clean_fake_sendmail () {
34
+ clean_fake_sendmail () {
35
35
rm -f commandline* msgtxt*
36
36
}
37
37
@@ -49,9 +49,9 @@ test_no_confirm () {
49
49
--to=nobody@example.com \
50
50
--smtp-server=" $( pwd) /fake.sendmail" \
51
51
$@ \
52
- $patches > stdout &&
52
+ $patches > stdout &&
53
53
test_must_fail grep " Send this email" stdout &&
54
- > no_confirm_okay
54
+ > no_confirm_okay
55
55
}
56
56
57
57
# Exit immediately to prevent hang if a no-confirm test fails
@@ -365,7 +365,7 @@ test_expect_success $PREREQ 'Author From: in message body' '
365
365
--to=nobody@example.com \
366
366
--smtp-server="$(pwd)/fake.sendmail" \
367
367
$patches &&
368
- sed "1,/^\$/d" < msgtxt1 > msgbody1 &&
368
+ sed "1,/^\$/d" <msgtxt1 >msgbody1 &&
369
369
grep "From: A <author@example.com>" msgbody1
370
370
'
371
371
@@ -376,7 +376,7 @@ test_expect_success $PREREQ 'Author From: not in message body' '
376
376
--to=nobody@example.com \
377
377
--smtp-server="$(pwd)/fake.sendmail" \
378
378
$patches &&
379
- sed "1,/^\$/d" < msgtxt1 > msgbody1 &&
379
+ sed "1,/^\$/d" <msgtxt1 >msgbody1 &&
380
380
! grep "From: A <author@example.com>" msgbody1
381
381
'
382
382
@@ -790,7 +790,7 @@ test_confirm () {
790
790
--from=" Example <nobody@example.com>" \
791
791
--to=nobody@example.com \
792
792
--smtp-server=" $( pwd) /fake.sendmail" \
793
- $@ $patches > stdout &&
793
+ $@ $patches > stdout &&
794
794
grep " Send this email" stdout
795
795
}
796
796
@@ -838,7 +838,7 @@ test_expect_success $PREREQ 'confirm detects EOF (inform assumes y)' '
838
838
--from="Example <nobody@example.com>" \
839
839
--to=nobody@example.com \
840
840
--smtp-server="$(pwd)/fake.sendmail" \
841
- outdir/*.patch < /dev/null
841
+ outdir/*.patch </dev/null
842
842
ret="$?"
843
843
git config sendemail.confirm ${CONFIRM:-never}
844
844
test $ret = "0"
@@ -853,7 +853,7 @@ test_expect_success $PREREQ 'confirm detects EOF (auto causes failure)' '
853
853
--from="Example <nobody@example.com>" \
854
854
--to=nobody@example.com \
855
855
--smtp-server="$(pwd)/fake.sendmail" \
856
- $patches < /dev/null
856
+ $patches </dev/null
857
857
ret="$?"
858
858
git config sendemail.confirm ${CONFIRM:-never}
859
859
test $ret = "0"
@@ -1034,7 +1034,7 @@ test_expect_success $PREREQ '--compose-encoding adds correct MIME for subject' '
1034
1034
'
1035
1035
1036
1036
test_expect_success $PREREQ ' detects ambiguous reference/file conflict' '
1037
- echo master > master &&
1037
+ echo master >master &&
1038
1038
git add master &&
1039
1039
git commit -m"add master" &&
1040
1040
test_must_fail git send-email --dry-run master 2>errors &&
@@ -1403,7 +1403,7 @@ test_expect_success $PREREQ 'convert from quoted-printable to base64' '
1403
1403
'
1404
1404
1405
1405
test_expect_success $PREREQ ' setup expect' "
1406
- tr -d '\\ 015' | tr '%' '\\ 015' > email-using-crlf <<EOF
1406
+ tr -d '\\ 015' | tr '%' '\\ 015' >email-using-crlf <<EOF
1407
1407
From fe6ecc66ece37198fe5db91fa2fc41d9f4fe5cc4 Mon Sep 17 00:00:00 2001
1408
1408
Message-Id: <bogus-message-id@example.com>
1409
1409
From: A U Thor <author@example.com>
0 commit comments