mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
fix expected test result to include Bcc lines
this test actually tests behavior that I consider as broken. The Bcc should be to the same address as used in the From line, otherwise we are creating a potential information leak as email that is related to one email account (say, work) is copied to a different account Signed-off-by: Dirk Hohndel <hohndel@infradead.org> Reviewed-by: Carl Worth <cworth@cworth.org> These tests don't actually pass yet, since the feature being tested has not been merged. But gettting these tests in first will let us more easily test that the feature actually works, (and will help us ensure we don't forget the feature before the next release).
This commit is contained in:
parent
037cfc5f5a
commit
8adaad690e
1 changed files with 5 additions and 0 deletions
|
@ -878,6 +878,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})
|
|||
pass_if_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.org>
|
||||
Subject: Re: notmuch-reply-test
|
||||
To: Sender <sender@example.com>, mailinglist@notmuchmail.org
|
||||
Bcc: test_suite@notmuchmail.org
|
||||
In-Reply-To: <${gen_msg_id}>
|
||||
References: <${gen_msg_id}>
|
||||
|
||||
|
@ -896,6 +897,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})
|
|||
pass_if_equal "$output" "From: Notmuch Test Suite <test_suite_other@notmuchmail.org>
|
||||
Subject: Re: notmuch-reply-test
|
||||
To: Sender <sender@example.com>, mailinglist@notmuchmail.org
|
||||
Bcc: test_suite@notmuchmail.org
|
||||
In-Reply-To: <${gen_msg_id}>
|
||||
References: <${gen_msg_id}>
|
||||
|
||||
|
@ -914,6 +916,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})
|
|||
pass_if_equal "$output" "From: Notmuch Test Suite <test_suite_other@notmuchmail.org>
|
||||
Subject: Re: notmuch-reply-test
|
||||
To: Sender <sender@example.com>, mailinglist@notmuchmail.org
|
||||
Bcc: test_suite@notmuchmail.org
|
||||
In-Reply-To: <${gen_msg_id}>
|
||||
References: <${gen_msg_id}>
|
||||
|
||||
|
@ -934,6 +937,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})
|
|||
pass_if_equal "$output" "From: Notmuch Test Suite <test_suite_other@notmuchmail.org>
|
||||
Subject: Re: notmuch-reply-test
|
||||
To: Sender <sender@example.com>, mailinglist@notmuchmail.org
|
||||
Bcc: test_suite@notmuchmail.org
|
||||
In-Reply-To: <${gen_msg_id}>
|
||||
References: <${gen_msg_id}>
|
||||
|
||||
|
@ -954,6 +958,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})
|
|||
pass_if_equal "$output" "From: Notmuch Test Suite <test_suite@otherdomain.org>
|
||||
Subject: Re: notmuch-reply-test
|
||||
To: Sender <sender@example.com>, mailinglist@notmuchmail.org
|
||||
Bcc: test_suite@notmuchmail.org
|
||||
In-Reply-To: <${gen_msg_id}>
|
||||
References: <${gen_msg_id}>
|
||||
|
||||
|
|
Loading…
Reference in a new issue