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>
This commit is contained in:
Michael S. Tsirkin 2013-06-05 21:10:57 +03:00 committed by Junio C Hamano
parent 5e3ee39df2
commit d6ee44568c

View File

@ -204,13 +204,15 @@ test_suppress_self_unquoted () {
unquoted-$3
cccmd--$1 <$2>
Cc: $1 <$2>
Signed-off-by: $1 <$2>
EOF
}
test_expect_success $PREREQ 'self name is suppressed' "
test_suppress_self_unquoted 'A U Thor' 'author@redhat.com' \
test_suppress_self_unquoted 'A U Thor' 'author@example.com' \
'self_name_suppressed'
"