diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-06-05 22:11:08 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-05 23:27:01 +0400 |
commit | 14952666d18e5256e1796633e5a927891e77a8de (patch) | |
tree | 4b1ccd9bd8e22267ca586710cf10bb096e65c747 /t/t9001-send-email.sh | |
parent | 4b45bcf7b141baf49c7290925b4fa5a40e47b610 (diff) |
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/t9001-send-email.sh')
-rwxr-xr-x | t/t9001-send-email.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index e4b3514d73..ebcb60a050 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 \ |