t/send-email: test suppress-cc=self on cccmd
Check that suppress-cc=self works when applied to output of cccmd. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Michael S. Tsirkin committed
Jun 5, 2013 at 21:10 UTC
d6ee44568c876f7644f23d7f4319f7689348de76
1 file changed
+3
-1
t/t9001-send-email.sh
+3
-1
@@ -204,13 +204,15 @@ test_suppress_self_unquoted () {
204
205
unquoted-$3
206
207
+ cccmd--$1 <$2>
208
+
209
Cc: $1 <$2>
210
Signed-off-by: $1 <$2>
211
EOF
212
}
213
214
test_expect_success $PREREQ 'self name is suppressed' "
213
- test_suppress_self_unquoted 'A U Thor' 'author@redhat.com' \
215
+ test_suppress_self_unquoted 'A U Thor' 'author@example.com' \
216
'self_name_suppressed'
217
"
218