add a test for git-send-email for non-threaded mails
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
32ae83194b0f287a9b6644cdad175c56417c31f3
1 file changed
+10
t/t9001-send-email.sh
+10
@@ -621,4 +621,14 @@ 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 'no in-reply-to and no threading' '
625
+ git send-email \
626
+ --dry-run \
627
+ --from="Example <nobody@example.com>" \
628
+ --to=nobody@example.com \
629
+ --nothread \
630
+ $patches $patches >stdout &&
631
+ ! grep "In-Reply-To: " stdout
632
+'
633
+
634
test_done