summaryrefslogtreecommitdiff
path: root/t/t9001-send-email.sh
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-06-05 21:10:57 +0300
committerJunio C Hamano <gitster@pobox.com>2013-06-05 12:26:56 -0700
commitd6ee44568c876f7644f23d7f4319f7689348de76 (patch)
tree0f862413e329ed1ff2c373d5c6847604be85a804 /t/t9001-send-email.sh
parent5e3ee39df2be5712dbff5a7cbca94d35ea56990c (diff)
downloadgit-d6ee44568c876f7644f23d7f4319f7689348de76.tar.gz
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>
Diffstat (limited to 't/t9001-send-email.sh')
-rwxr-xr-xt/t9001-send-email.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index f4745ce742..d7797c5e3f 100755
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
@@ -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'
"