mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
notmuch-test: Add test for "notmuch reply" with a CC header.
A simple test to help round out the set of tested features.
This commit is contained in:
parent
96134fc723
commit
fbe595e3b9
1 changed files with 20 additions and 0 deletions
|
@ -320,6 +320,26 @@ References: <${gen_msg_id}>
|
|||
On Tue, 05 Jan 2010 15:43:56 -0800, Sender <sender@example.com> wrote:
|
||||
> basic reply test"
|
||||
|
||||
printf " Reply with CC...\t\t"
|
||||
generate_message '[from]="Sender <sender@example.com>"' \
|
||||
[to]=test_suite@notmuchmail.org \
|
||||
'[cc]="Other Parties <cc@example.com>"' \
|
||||
[subject]=notmuch-reply-test \
|
||||
'[date]="Tue, 05 Jan 2010 15:43:56 -0800"' \
|
||||
'[body]="reply with CC"'
|
||||
|
||||
$NOTMUCH new > /dev/null
|
||||
execute_expecting "reply id:${gen_msg_id}" "From: Notmuch Test Suite <test_suite@notmuchmail.org>
|
||||
Subject: Re: notmuch-reply-test
|
||||
To: Sender <sender@example.com>
|
||||
Cc: Other Parties <cc@example.com>
|
||||
Bcc: test_suite@notmuchmail.org
|
||||
In-Reply-To: <${gen_msg_id}>
|
||||
References: <${gen_msg_id}>
|
||||
|
||||
On Tue, 05 Jan 2010 15:43:56 -0800, Sender <sender@example.com> wrote:
|
||||
> reply with CC"
|
||||
|
||||
printf " Reply from alternate address..."
|
||||
generate_message '[from]="Sender <sender@example.com>"' \
|
||||
[to]=test_suite_other@notmuchmail.org \
|
||||
|
|
Loading…
Reference in a new issue