[PATCH 1/2] test: add known broken test for reply from address in named group list
On Sat, 14 Jan 2012 23:49:49 +0200, Jani Nikula wrote: > If a message was received to the user's address that was in a named > group list, notmuch reply does not use that address for picking the > from address. Pushed. d
Re: [PATCH 1/2] test: add known broken test for reply from address in named group list
On Sat, 14 Jan 2012 23:49:49 +0200, Jani Nikula wrote: > If a message was received to the user's address that was in a named > group list, notmuch reply does not use that address for picking the > from address. Pushed. d ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch
[PATCH 1/2] test: add known broken test for reply from address in named group list
If a message was received to the user's address that was in a named group list, notmuch reply does not use that address for picking the from address. Groups lists are of the form: foo:bar at example.com,baz at example.com; Signed-off-by: Jani Nikula --- test/reply | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/test/reply b/test/reply index c0b8e26..196535a 100755 --- a/test/reply +++ b/test/reply @@ -72,6 +72,25 @@ References: <${gen_msg_id}> On Tue, 05 Jan 2010 15:43:56 -, Sender wrote: > reply from alternate address" +test_begin_subtest "Reply from address in named group list" +test_subtest_known_broken +add_message '[from]="Sender "' \ +'[to]=group:test_suite at notmuchmail.org,someone at example.com\;' \ + [cc]=test_suite_other at notmuchmail.org \ + [subject]=notmuch-reply-test \ +'[date]="Tue, 05 Jan 2010 15:43:56 -"' \ +'[body]="Reply from address in named group list"' + +output=$(notmuch reply id:${gen_msg_id}) +test_expect_equal "$output" "From: Notmuch Test Suite +Subject: Re: notmuch-reply-test +To: Sender , someone at example.com +In-Reply-To: <${gen_msg_id}> +References: <${gen_msg_id}> + +On Tue, 05 Jan 2010 15:43:56 -, Sender wrote: +> Reply from address in named group list" + test_begin_subtest "Support for Reply-To" add_message '[from]="Sender "' \ [to]=test_suite at notmuchmail.org \ -- 1.7.5.4
[PATCH 1/2] test: add known broken test for reply from address in named group list
If a message was received to the user's address that was in a named group list, notmuch reply does not use that address for picking the from address. Groups lists are of the form: foo:b...@example.com,b...@example.com; Signed-off-by: Jani Nikula --- test/reply | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/test/reply b/test/reply index c0b8e26..196535a 100755 --- a/test/reply +++ b/test/reply @@ -72,6 +72,25 @@ References: <${gen_msg_id}> On Tue, 05 Jan 2010 15:43:56 -, Sender wrote: > reply from alternate address" +test_begin_subtest "Reply from address in named group list" +test_subtest_known_broken +add_message '[from]="Sender "' \ +'[to]=group:test_su...@notmuchmail.org,some...@example.com\;' \ + [cc]=test_suite_ot...@notmuchmail.org \ + [subject]=notmuch-reply-test \ +'[date]="Tue, 05 Jan 2010 15:43:56 -"' \ +'[body]="Reply from address in named group list"' + +output=$(notmuch reply id:${gen_msg_id}) +test_expect_equal "$output" "From: Notmuch Test Suite +Subject: Re: notmuch-reply-test +To: Sender , some...@example.com +In-Reply-To: <${gen_msg_id}> +References: <${gen_msg_id}> + +On Tue, 05 Jan 2010 15:43:56 -, Sender wrote: +> Reply from address in named group list" + test_begin_subtest "Support for Reply-To" add_message '[from]="Sender "' \ [to]=test_su...@notmuchmail.org \ -- 1.7.5.4 ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch