[PATCH 5/6] add a test for git-send-email for threaded mails without chain-reply-to
- From
Junio C Hamano <junio@pobox.com>
- Date
- Jun 10, 2009, 07:17 UTC
- Message-ID
- <7v63f4tv5r.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <7vhbyo1vr7.fsf@alter.siamese.dyndns.org>
From: Markus Heidelberg <markus.heidelberg@web.de> Date: Mon, 8 Jun 2009 08:37:31 +0200
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com> ---
* To be applied on top of: - applying 1/6, 2/6 and 3/6 to maint - applying 4/6 to 15da108; then - merging the above two together. to demonstrate the fix in 4/6
t/t9001-send-email.sh | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index 2ce24cd..4f67de3 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -621,4 +621,15 @@ test_expect_success 'in-reply-to but no threading' ' grep "In-Reply-To: <in-reply-id@example.com>" ' +test_expect_failure 'threading but no chain-reply-to' ' + git send-email \ + --dry-run \ + --from="Example <nobody@example.com>" \ + --to=nobody@example.com \ + --thread \ + --nochain-reply-to \ + $patches $patches >stdout && + grep "In-Reply-To: " stdout +' + test_done
-- 1.6.3.2.214.gf4f78e