mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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@example.com,baz@example.com; Signed-off-by: Jani Nikula <jani@nikula.org>
This commit is contained in:
parent
7ddd849015
commit
93150f6467
1 changed files with 19 additions and 0 deletions
19
test/reply
19
test/reply
|
@ -72,6 +72,25 @@ References: <${gen_msg_id}>
|
|||
On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sender@example.com> wrote:
|
||||
> reply from alternate address"
|
||||
|
||||
test_begin_subtest "Reply from address in named group list"
|
||||
test_subtest_known_broken
|
||||
add_message '[from]="Sender <sender@example.com>"' \
|
||||
'[to]=group:test_suite@notmuchmail.org,someone@example.com\;' \
|
||||
[cc]=test_suite_other@notmuchmail.org \
|
||||
[subject]=notmuch-reply-test \
|
||||
'[date]="Tue, 05 Jan 2010 15:43:56 -0000"' \
|
||||
'[body]="Reply from address in named group list"'
|
||||
|
||||
output=$(notmuch reply id:${gen_msg_id})
|
||||
test_expect_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.org>
|
||||
Subject: Re: notmuch-reply-test
|
||||
To: Sender <sender@example.com>, someone@example.com
|
||||
In-Reply-To: <${gen_msg_id}>
|
||||
References: <${gen_msg_id}>
|
||||
|
||||
On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sender@example.com> wrote:
|
||||
> Reply from address in named group list"
|
||||
|
||||
test_begin_subtest "Support for Reply-To"
|
||||
add_message '[from]="Sender <sender@example.com>"' \
|
||||
[to]=test_suite@notmuchmail.org \
|
||||
|
|
Loading…
Reference in a new issue