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>

Michael S. Tsirkin committed Jun 5, 2013 at 21:11 UTC 14952666d18e5256e1796633e5a927891e77a8de
1 file changed +5
t/t9001-send-email.sh
+5
@@ -241,6 +241,11 @@ test_expect_success $PREREQ 'non-ascii self name is suppressed' "
241 'non_ascii_self_suppressed'
242 "
243
244 +test_expect_success $PREREQ 'sanitized self name is suppressed' "
245 + test_suppress_self_unquoted '\"A U. Thor\"' 'author@example.com' \
246 + 'self_name_sanitized_suppressed'
247 +"
248 +
249 test_expect_success $PREREQ 'Show all headers' '
250 git send-email \
251 --dry-run \