From fbe595e3b98bd37ac6ed70f82c90c9bdf9e701d6 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 4 Feb 2010 11:55:57 -0800 Subject: [PATCH] notmuch-test: Add test for "notmuch reply" with a CC header. A simple test to help round out the set of tested features. --- test/notmuch-test | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 wrote: > basic reply test" +printf " Reply with CC...\t\t" +generate_message '[from]="Sender "' \ + [to]=test_suite@notmuchmail.org \ + '[cc]="Other Parties "' \ + [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 +Subject: Re: notmuch-reply-test +To: Sender +Cc: Other Parties +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 wrote: +> reply with CC" + printf " Reply from alternate address..." generate_message '[from]="Sender "' \ [to]=test_suite_other@notmuchmail.org \