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>
This commit is contained in:
parent
4b45bcf7b1
commit
14952666d1
@ -241,6 +241,11 @@ test_expect_success $PREREQ 'non-ascii self name is suppressed' "
|
|||||||
'non_ascii_self_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' '
|
test_expect_success $PREREQ 'Show all headers' '
|
||||||
git send-email \
|
git send-email \
|
||||||
--dry-run \
|
--dry-run \
|
||||||
|
Loading…
Reference in New Issue
Block a user