summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-06-05 18:11:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-06-05 19:27:01 (GMT)
commit14952666d18e5256e1796633e5a927891e77a8de (patch)
tree4b1ccd9bd8e22267ca586710cf10bb096e65c747 /t
parent4b45bcf7b141baf49c7290925b4fa5a40e47b610 (diff)
downloadgit-14952666d18e5256e1796633e5a927891e77a8de.zip
git-14952666d18e5256e1796633e5a927891e77a8de.tar.gz
git-14952666d18e5256e1796633e5a927891e77a8de.tar.bz2
test-send-email: test for pre-sanitized self name
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t9001-send-email.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index e4b3514..ebcb60a 100755
--- 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 \