Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t/send-email: test suppress-cc=self on cccmd
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 5 Jun 2013 18:10:57 +0000
(21:10 +0300)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 5 Jun 2013 19:26:56 +0000
(12:26 -0700)
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>
t/t9001-send-email.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
5e3ee39
)
diff --git
a/t/t9001-send-email.sh
b/t/t9001-send-email.sh
index f4745ce7422cf7b8bb84a5f2ab77931574ba65af..d7797c5e3f07d8409a6a1854840b752a9ff8dd6f 100755
(executable)
--- 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'
"