From 8adaad690e19351f63c38c1c2e28d37608300612 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 21 Apr 2010 14:55:58 -0700 Subject: [PATCH] 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 Reviewed-by: Carl Worth 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). --- test/notmuch-test | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/notmuch-test b/test/notmuch-test index 72763725..70823447 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -878,6 +878,7 @@ output=$($NOTMUCH reply id:${gen_msg_id}) pass_if_equal "$output" "From: Notmuch Test Suite Subject: Re: notmuch-reply-test To: Sender , 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 Subject: Re: notmuch-reply-test To: Sender , 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 Subject: Re: notmuch-reply-test To: Sender , 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 Subject: Re: notmuch-reply-test To: Sender , 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 Subject: Re: notmuch-reply-test To: Sender , mailinglist@notmuchmail.org +Bcc: test_suite@notmuchmail.org In-Reply-To: <${gen_msg_id}> References: <${gen_msg_id}>