diff options
author | Carl Worth <cworth@cworth.org> | 2010-02-04 11:55:57 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-02-04 12:10:43 -0800 |
commit | fbe595e3b98bd37ac6ed70f82c90c9bdf9e701d6 (patch) | |
tree | b70896757a4d1c586aa9b3ea10d6e0a58c08d991 | |
parent | 96134fc72352206877719d275b81b4e50a85e943 (diff) |
notmuch-test: Add test for "notmuch reply" with a CC header.
A simple test to help round out the set of tested features.
-rwxr-xr-x | test/notmuch-test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/notmuch-test b/test/notmuch-test index ed8d2ad4..e24ccb5a 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -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 \ |