From: Junio C Hamano Date: Wed, 10 Jun 2009 07:16:03 GMT Subject: [PATCH 1/6] add a test for git-send-email for non-threaded mails Message-ID: <7vy6s0tv7w.fsf@alter.siamese.dyndns.org> In-Reply-To: <7vhbyo1vr7.fsf@alter.siamese.dyndns.org> From: Markus Heidelberg Date: Mon, 8 Jun 2009 09:13:16 +0200 Signed-off-by: Markus Heidelberg Signed-off-by: Junio C Hamano --- * To be applied on 'maint'. t/t9001-send-email.sh | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index ce26ea4..5bfa36e 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 -- 1.6.3.2.214.gf4f78e