diff options
author | Carl Worth <cworth@cworth.org> | 2010-02-04 12:03:30 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-02-04 12:10:43 -0800 |
commit | bcba87a3e25ea2b6deb92d0ebbdf4bf1866dba97 (patch) | |
tree | 97e01dbd6f49d25910e81297438c9601527b87b4 /test | |
parent | fbe595e3b98bd37ac6ed70f82c90c9bdf9e701d6 (diff) |
notmuch-test: Test "notmuch reply" with multiple recipients
The feature tested here is that we reply to both the sender and to
others addresses on the To: line of the original message, but that we
don't reply to our own address.
Diffstat (limited to 'test')
-rwxr-xr-x | test/notmuch-test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/notmuch-test b/test/notmuch-test index e24ccb5..0488b67 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -320,6 +320,24 @@ References: <${gen_msg_id}> On Tue, 05 Jan 2010 15:43:56 -0800, Sender <sender@example.com> wrote: > basic reply test" +printf " Multiple recipients...\t\t" +generate_message '[from]="Sender <sender@example.com>"' \ + '[to]="test_suite@notmuchmail.org, Someone Else <someone@example.com>"' \ + [subject]=notmuch-reply-test \ + '[date]="Tue, 05 Jan 2010 15:43:56 -0800"' \ + '[body]="Multiple recipients"' + +$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>, Someone Else <someone@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: +> Multiple recipients" + printf " Reply with CC...\t\t" generate_message '[from]="Sender <sender@example.com>"' \ [to]=test_suite@notmuchmail.org \ |