t/send-email: test suppress-cc=self with non-ascii
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Jun 2013 18:11:04 +0000 (21:11 +0300)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Jun 2013 19:27:00 +0000 (12:27 -0700)
test suppress-cc=self when sender is non-acsii

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh
index 39d82f46e4777b5742681dd9d525c0d75caa4734..e4b3514d732e38ccb7f7d80f21694c55454bebaf 100755 (executable)
@@ -236,6 +236,11 @@ test_expect_success $PREREQ 'self name with dot is suppressed' "
                'self_name_dot_suppressed'
 "
 
+test_expect_success $PREREQ 'non-ascii self name is suppressed' "
+       test_suppress_self_quoted 'Füñný Nâmé' 'odd_?=mail@example.com' \
+               'non_ascii_self_suppressed'
+"
+
 test_expect_success $PREREQ 'Show all headers' '
        git send-email \
                --dry-run \