Skip to content

Commit

Permalink
add a test for git-send-email for non-threaded mails
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Heidelberg <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
marcows authored and gitster committed Jun 12, 2009
1 parent 94af7c3 commit 32ae831
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions t/t9001-send-email.sh
Original file line number Diff line number Diff line change
Expand Up @@ -621,4 +621,14 @@ test_expect_success 'in-reply-to but no threading' '
grep "In-Reply-To: <[email protected]>"
'

test_expect_failure 'no in-reply-to and no threading' '
git send-email \
--dry-run \
--from="Example <[email protected]>" \
[email protected] \
--nothread \
$patches $patches >stdout &&
! grep "In-Reply-To: " stdout
'

test_done

0 comments on commit 32ae831

Please sign in to comment.