From: Markus Heidelberg Date: Fri, 12 Jun 2009 10:51:40 GMT Subject: [PATCH 4/6] add a test for git-send-email for threaded mails without chain-reply-to Message-ID: <1244803902-8068-4-git-send-email-markus.heidelberg@web.de> In-Reply-To: <1244803766-7785-1-git-send-email-markus.heidelberg@web.de> Signed-off-by: Markus Heidelberg Signed-off-by: Junio C Hamano --- * To be applied on 'master'. 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: " ' +test_expect_failure 'threading but no chain-reply-to' ' + git send-email \ + --dry-run \ + --from="Example " \ + --to=nobody@example.com \ + --thread \ + --nochain-reply-to \ + $patches $patches >stdout && + grep "In-Reply-To: " stdout +' + test_done -- 1.6.3.2.236.ge505d