[PATCH 5/6] t/send-email: add test with quoted sender

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



add test where sender address needs to be quoted.
Make sure --suppress-cc=self works well in this case.

Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
---
 t/t9001-send-email.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index 8aa55f8..0ab4056 100755
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
@@ -228,6 +228,10 @@ test_expect_success $PREREQ 'self name is suppressed' "
 	test_suppress_self_unquoted 'A U Thor' 'author@xxxxxxxxxx' 'self_name_suppressed'
 "
 
+test_expect_success $PREREQ 'quoted self name is suppressed' "
+	test_suppress_self_quoted 'A U. Thor' 'author@xxxxxxxxxx' 'self_name_suppressed'
+"
+
 test_expect_success $PREREQ 'Show all headers' '
 	git send-email \
 		--dry-run \
-- 
MST
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]