summaryrefslogtreecommitdiff
path: root/t/t9001-send-email.sh
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2009-06-12 10:51:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-06-12 16:22:14 (GMT)
commitd67114a5f3cbbedd4f01e6ff87fd5d4db9563ead (patch)
tree6b72b36035b695684e5913f2100a5b857a3cbec4 /t/t9001-send-email.sh
parentb8364903c3e4cde713102e4a36d3926b020b0f70 (diff)
downloadgit-d67114a5f3cbbedd4f01e6ff87fd5d4db9563ead.zip
git-d67114a5f3cbbedd4f01e6ff87fd5d4db9563ead.tar.gz
git-d67114a5f3cbbedd4f01e6ff87fd5d4db9563ead.tar.bz2
add a test for git-send-email for threaded mails without chain-reply-to
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9001-send-email.sh')
-rwxr-xr-xt/t9001-send-email.sh11
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