Skip to content

Commit 1495266

Browse files
mstsirkingitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4b45bcf commit 1495266

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/t9001-send-email.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,11 @@ test_expect_success $PREREQ 'non-ascii self name is suppressed' "
241241
'non_ascii_self_suppressed'
242242
"
243243

244+
test_expect_success $PREREQ 'sanitized self name is suppressed' "
245+
test_suppress_self_unquoted '\"A U. Thor\"' '[email protected]' \
246+
'self_name_sanitized_suppressed'
247+
"
248+
244249
test_expect_success $PREREQ 'Show all headers' '
245250
git send-email \
246251
--dry-run \

0 commit comments

Comments
 (0)