summaryrefslogtreecommitdiff
path: root/t/t9001-send-email.sh
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2009-06-12 10:51:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-06-12 16:20:18 (GMT)
commit32ae83194b0f287a9b6644cdad175c56417c31f3 (patch)
treeab731613b33f79af0a0227309ccc94a7a2af2d39 /t/t9001-send-email.sh
parent94af7c31a52ba1a26bd663c794e33284acf41a49 (diff)
downloadgit-32ae83194b0f287a9b6644cdad175c56417c31f3.zip
git-32ae83194b0f287a9b6644cdad175c56417c31f3.tar.gz
git-32ae83194b0f287a9b6644cdad175c56417c31f3.tar.bz2
add a test for git-send-email for non-threaded mails
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.sh10
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: <in-reply-id@example.com>"
'
+test_expect_failure 'no in-reply-to and no threading' '
+ git send-email \
+ --dry-run \
+ --from="Example <nobody@example.com>" \
+ --to=nobody@example.com \
+ --nothread \
+ $patches $patches >stdout &&
+ ! grep "In-Reply-To: " stdout
+'
+
test_done