From: Carl Worth Date: Thu, 4 Feb 2010 19:55:57 +0000 (-0800) Subject: notmuch-test: Add test for "notmuch reply" with a CC header. X-Git-Tag: 0.1~127 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fbe595e3b98bd37ac6ed70f82c90c9bdf9e701d6;p=notmuch.git notmuch-test: Add test for "notmuch reply" with a CC header. A simple test to help round out the set of tested features. --- 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 \