--- /dev/null
+Return-Path: <hohndel@gr8dns.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 1BB6C4196F3\r
+ for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 14:56:29 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
+ tests=[BAYES_00=-1.9] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id WVPIyMj7hkqp for <notmuch@notmuchmail.org>;\r
+ Wed, 21 Apr 2010 14:56:28 -0700 (PDT)\r
+Received: from mail.hohndel.org (mail.hohndel.org [65.23.157.147])\r
+ by olra.theworths.org (Postfix) with ESMTP id 0D237431FC1\r
+ for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 14:56:28 -0700 (PDT)\r
+Received: by mail.hohndel.org (Postfix, from userid 112)\r
+ id 7D4EB340FC; Wed, 21 Apr 2010 17:56:27 -0400 (EDT)\r
+Received: from x200.gr8dns.org (unknown [65.23.157.147])\r
+ by mail.hohndel.org (Postfix) with ESMTP id CBEB1340F4;\r
+ Wed, 21 Apr 2010 17:56:26 -0400 (EDT)\r
+Received: by x200.gr8dns.org (Postfix, from userid 500)\r
+ id 934C4C0212; Wed, 21 Apr 2010 14:56:26 -0700 (PDT)\r
+From: Dirk Hohndel <hohndel@infradead.org>\r
+To: <notmuch@notmuchmail.org>\r
+Subject: [PATCH 2/2] fix expected test result to include Bcc lines\r
+Date: Wed, 21 Apr 2010 14:55:58 -0700\r
+Message-Id: <1271886958-3276-3-git-send-email-hohndel@infradead.org>\r
+X-Mailer: git-send-email 1.6.6.1\r
+In-Reply-To: <1271886958-3276-2-git-send-email-hohndel@infradead.org>\r
+References: <1271886958-3276-1-git-send-email-hohndel@infradead.org>\r
+ <1271886958-3276-2-git-send-email-hohndel@infradead.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 21 Apr 2010 21:56:29 -0000\r
+\r
+this test actually tests behavior that I consider as broken.\r
+The Bcc should be to the same address as used in the From line,\r
+otherwise we are creating a potential information leak as email\r
+that is related to one email account (say, work) is copied to\r
+a different account\r
+\r
+Signed-off-by: Dirk Hohndel <hohndel@infradead.org>\r
+---\r
+ test/notmuch-test | 5 +++++\r
+ 1 files changed, 5 insertions(+), 0 deletions(-)\r
+\r
+diff --git a/test/notmuch-test b/test/notmuch-test\r
+index 855850c..d939c03 100755\r
+--- a/test/notmuch-test\r
++++ b/test/notmuch-test\r
+@@ -647,6 +647,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})\r
+ pass_if_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.org>\r
+ Subject: Re: notmuch-reply-test\r
+ To: Sender <sender@example.com>, mailinglist@notmuchmail.org\r
++Bcc: test_suite@notmuchmail.org\r
+ In-Reply-To: <${gen_msg_id}>\r
+ References: <${gen_msg_id}>\r
+ \r
+@@ -665,6 +666,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})\r
+ pass_if_equal "$output" "From: Notmuch Test Suite <test_suite_other@notmuchmail.org>\r
+ Subject: Re: notmuch-reply-test\r
+ To: Sender <sender@example.com>, mailinglist@notmuchmail.org\r
++Bcc: test_suite@notmuchmail.org\r
+ In-Reply-To: <${gen_msg_id}>\r
+ References: <${gen_msg_id}>\r
+ \r
+@@ -683,6 +685,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})\r
+ pass_if_equal "$output" "From: Notmuch Test Suite <test_suite_other@notmuchmail.org>\r
+ Subject: Re: notmuch-reply-test\r
+ To: Sender <sender@example.com>, mailinglist@notmuchmail.org\r
++Bcc: test_suite@notmuchmail.org\r
+ In-Reply-To: <${gen_msg_id}>\r
+ References: <${gen_msg_id}>\r
+ \r
+@@ -703,6 +706,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})\r
+ pass_if_equal "$output" "From: Notmuch Test Suite <test_suite_other@notmuchmail.org>\r
+ Subject: Re: notmuch-reply-test\r
+ To: Sender <sender@example.com>, mailinglist@notmuchmail.org\r
++Bcc: test_suite@notmuchmail.org\r
+ In-Reply-To: <${gen_msg_id}>\r
+ References: <${gen_msg_id}>\r
+ \r
+@@ -723,6 +727,7 @@ output=$($NOTMUCH reply id:${gen_msg_id})\r
+ pass_if_equal "$output" "From: Notmuch Test Suite <test_suite@otherdomain.org>\r
+ Subject: Re: notmuch-reply-test\r
+ To: Sender <sender@example.com>, mailinglist@notmuchmail.org\r
++Bcc: test_suite@notmuchmail.org\r
+ In-Reply-To: <${gen_msg_id}>\r
+ References: <${gen_msg_id}>\r
+ \r
+-- \r
+1.6.6.1\r
+\r