From: Carl Worth Date: Thu, 4 Feb 2010 20:03:30 +0000 (-0800) Subject: notmuch-test: Test "notmuch reply" with multiple recipients X-Git-Tag: 0.1~126 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bcba87a3e25ea2b6deb92d0ebbdf4bf1866dba97;p=notmuch.git 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. --- diff --git a/test/notmuch-test b/test/notmuch-test index e24ccb5a..0488b67a 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 wrote: > basic reply test" +printf " Multiple recipients...\t\t" +generate_message '[from]="Sender "' \ + '[to]="test_suite@notmuchmail.org, Someone Else "' \ + [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 +Subject: Re: notmuch-reply-test +To: Sender , Someone Else +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: +> Multiple recipients" + printf " Reply with CC...\t\t" generate_message '[from]="Sender "' \ [to]=test_suite@notmuchmail.org \