Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
test-send-email: test for pre-sanitized self name
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 5 Jun 2013 18:11:08 +0000
(21:11 +0300)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 5 Jun 2013 19:27:01 +0000
(12:27 -0700)
Users can sanitize from address manually.
Verify that these are suppressed properly.
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:
4b45bcf
)
diff --git
a/t/t9001-send-email.sh
b/t/t9001-send-email.sh
index e4b3514d732e38ccb7f7d80f21694c55454bebaf..ebcb60a050cc68c281bb99d9de4da66452e0efe2 100755
(executable)
--- a/
t/t9001-send-email.sh
+++ b/
t/t9001-send-email.sh
@@
-241,6
+241,11
@@
test_expect_success $PREREQ 'non-ascii self name is suppressed' "
'non_ascii_self_suppressed'
"
+test_expect_success $PREREQ 'sanitized self name is suppressed' "
+ test_suppress_self_unquoted '\"A U. Thor\"' 'author@example.com' \
+ 'self_name_sanitized_suppressed'
+"
+
test_expect_success $PREREQ 'Show all headers' '
git send-email \
--dry-run \