From: Markus Heidelberg Date: Fri, 12 Jun 2009 10:51:37 +0000 (+0200) Subject: add a test for git-send-email for non-threaded mails X-Git-Tag: v1.6.4-rc0~59^2^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=32ae83194b0f287a9b6644cdad175c56417c31f3;p=git.git add a test for git-send-email for non-threaded mails Signed-off-by: Markus Heidelberg Signed-off-by: Junio C Hamano --- diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index ce26ea4ac..5bfa36ecc 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -621,4 +621,14 @@ test_expect_success 'in-reply-to but no threading' ' grep "In-Reply-To: " ' +test_expect_failure 'no in-reply-to and no threading' ' + git send-email \ + --dry-run \ + --from="Example " \ + --to=nobody@example.com \ + --nothread \ + $patches $patches >stdout && + ! grep "In-Reply-To: " stdout +' + test_done