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:
parent
5e3ee39df2
commit
d6ee44568c
@ -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'
|
||||
"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user