add a test for git-send-email for threaded mails without chain-reply-to
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Markus Heidelberg committed
Jun 12, 2009 at 12:51 UTC
d67114a5f3cbbedd4f01e6ff87fd5d4db9563ead
1 file changed
+11
t/t9001-send-email.sh
+11
@@ -621,4 +621,15 @@ test_expect_success 'in-reply-to but no threading' '
621
grep "In-Reply-To: <in-reply-id@example.com>"
622
'
623
624
+test_expect_failure 'threading but no chain-reply-to' '
625
+ git send-email \
626
+ --dry-run \
627
+ --from="Example <nobody@example.com>" \
628
+ --to=nobody@example.com \
629
+ --thread \
630
+ --nochain-reply-to \
631
+ $patches $patches >stdout &&
632
+ grep "In-Reply-To: " stdout
633
+'
634
+
635
test_done