summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-06-05 18:10:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-06-05 19:26:56 (GMT)
commitd6ee44568c876f7644f23d7f4319f7689348de76 (patch)
tree0f862413e329ed1ff2c373d5c6847604be85a804 /t
parent5e3ee39df2be5712dbff5a7cbca94d35ea56990c (diff)
downloadgit-d6ee44568c876f7644f23d7f4319f7689348de76.zip
git-d6ee44568c876f7644f23d7f4319f7689348de76.tar.gz
git-d6ee44568c876f7644f23d7f4319f7689348de76.tar.bz2
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')
-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 f4745ce..d7797c5 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'
"