@@ -6,16 +6,15 @@ test_description='git send-email'
6
6
# May be altered later in the test
7
7
PREREQ=" PERL"
8
8
9
- test_expect_success $PREREQ \
10
- ' prepare reference tree' \
11
- ' echo "1A quick brown fox jumps over the" >file &&
9
+ test_expect_success $PREREQ ' prepare reference tree' '
10
+ echo "1A quick brown fox jumps over the" >file &&
12
11
echo "lazy dog" >>file &&
13
12
git add file &&
14
- GIT_AUTHOR_NAME="A" git commit -a -m "Initial."'
13
+ GIT_AUTHOR_NAME="A" git commit -a -m "Initial."
14
+ '
15
15
16
- test_expect_success $PREREQ \
17
- ' Setup helper tool' \
18
- ' (echo "#!$SHELL_PATH"
16
+ test_expect_success $PREREQ ' Setup helper tool' '
17
+ (echo "#!$SHELL_PATH"
19
18
echo shift
20
19
echo output=1
21
20
echo "while test -f commandline\$output; do output=\$((\$output+1)); done"
@@ -27,7 +26,8 @@ test_expect_success $PREREQ \
27
26
) >fake.sendmail &&
28
27
chmod +x ./fake.sendmail &&
29
28
git add fake.sendmail &&
30
- GIT_AUTHOR_NAME="A" git commit -a -m "Second."'
29
+ GIT_AUTHOR_NAME="A" git commit -a -m "Second."
30
+ '
31
31
32
32
clean_fake_sendmail () {
33
33
rm -f commandline* msgtxt*
@@ -94,9 +94,9 @@ cat >expected <<\EOF
94
94
EOF
95
95
'
96
96
97
- test_expect_success $PREREQ \
98
- ' Verify commandline ' \
99
- ' test_cmp expected commandline1 '
97
+ test_expect_success $PREREQ ' Verify commandline ' '
98
+ test_cmp expected commandline1
99
+ '
100
100
101
101
test_expect_success $PREREQ ' Send patches with --envelope-sender' '
102
102
clean_fake_sendmail &&
@@ -114,9 +114,9 @@ cat >expected <<\EOF
114
114
EOF
115
115
'
116
116
117
- test_expect_success $PREREQ \
118
- ' Verify commandline ' \
119
- ' test_cmp expected commandline1 '
117
+ test_expect_success $PREREQ ' Verify commandline ' '
118
+ test_cmp expected commandline1
119
+ '
120
120
121
121
test_expect_success $PREREQ ' Send patches with --envelope-sender=auto' '
122
122
clean_fake_sendmail &&
@@ -134,9 +134,9 @@ cat >expected <<\EOF
134
134
EOF
135
135
'
136
136
137
- test_expect_success $PREREQ \
138
- ' Verify commandline ' \
139
- ' test_cmp expected commandline1 '
137
+ test_expect_success $PREREQ ' Verify commandline ' '
138
+ test_cmp expected commandline1
139
+ '
140
140
141
141
test_expect_success $PREREQ ' setup expect' "
142
142
cat >expected-show-all-headers <<\EOF
0 commit comments