From: Michael S. Tsirkin Date: Wed, 5 Jun 2013 18:11:08 +0000 (+0300) Subject: test-send-email: test for pre-sanitized self name X-Git-Tag: v1.8.3.3~6^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=14952666d18e5256e1796633e5a927891e77a8de;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- 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 \