Skip to content

Commit

Permalink
t/send-email: test suppress-cc=self on cccmd
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael S. Tsirkin authored and Junio C Hamano committed Jun 5, 2013
1 parent 5e3ee39 commit d6ee445
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion t/t9001-send-email.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
"

Expand Down

0 comments on commit d6ee445

Please sign in to comment.