--- /dev/null
+Return-Path: <jani@nikula.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 242BC431FB6\r
+ for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 01:34:59 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 duFOValUQ7Zx for <notmuch@notmuchmail.org>;\r
+ Fri, 17 Oct 2014 01:34:51 -0700 (PDT)\r
+Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com\r
+ [74.125.82.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ 55B72431FAF for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 01:34:51 -0700\r
+ (PDT)\r
+Received: by mail-wg0-f44.google.com with SMTP id y10so378526wgg.3\r
+ for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 01:34:49 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:in-reply-to:references\r
+ :user-agent:date:message-id:mime-version:content-type;\r
+ bh=HbMZmpgdlCR7ymiLfoLMoiL4Oljso4/Eo2IIvETbRKA=;\r
+ b=l3roD5nV424bEmoeHkYgpAUXobNYq8zObthb4Ma6oUgbLot7dc4ui7q3wAl41k2ea7\r
+ psh3epIX4Ty9oZGbfuhZ+Jx9m+m+Tg8+j5xdMo0NSm5kvNXlvh4xcYnLMUfvWpw2Frox\r
+ litzKbiFc2dPU567Vyu3rZ5tsYsG+OE7cvE98EDJEkqWGKKkPKAoHHcm2KLbpg+UcWRX\r
+ +1Ear5gsr0I0NxBLkJsLzTjjjz9eprSNCkcL69e1vsO+WxH1jWkRsrJJzRyq1xu28XIt\r
+ znvp9yZn1Lc3E1mrL8q8FS1m8QkgbpS5VUb1qki6LkVaiEc7R+d9kJtspLd/6QFeNF/A\r
+ M/oQ==\r
+X-Gm-Message-State:\r
+ ALoCoQlkuCkL+9nU6djJr4LS5qro3AqqTSVxrEbH7MY/cyXkC9rnH2vL9/PbMzcPZJBw2BjRxw91\r
+X-Received: by 10.180.14.196 with SMTP id r4mr11853835wic.33.1413534888803;\r
+ Fri, 17 Oct 2014 01:34:48 -0700 (PDT)\r
+Received: from localhost (mobile-internet-5d6ad2-138.dhcp.inet.fi.\r
+ [93.106.210.138])\r
+ by mx.google.com with ESMTPSA id q5sm798323wja.49.2014.10.17.01.34.47\r
+ for <multiple recipients>\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Fri, 17 Oct 2014 01:34:48 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: [Patch v2.5 1/4] test/insert: add known broken tests for\r
+ indexing failures\r
+In-Reply-To: <1412371140-21051-2-git-send-email-david@tethera.net>\r
+References: <1412371140-21051-1-git-send-email-david@tethera.net>\r
+ <1412371140-21051-2-git-send-email-david@tethera.net>\r
+User-Agent: Notmuch/0.18.1+65~g9f0f30f (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Fri, 17 Oct 2014 11:34:45 +0300\r
+Message-ID: <87siin2ixm.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Fri, 17 Oct 2014 08:34:59 -0000\r
+\r
+On Sat, 04 Oct 2014, David Bremner <david@tethera.net> wrote:\r
+> These tests are written with the assumption that we want all indexing\r
+> failures to be considered as failures by notmuch insert.\r
+\r
+Just realized this needs a missing prereq test for gdb.\r
+\r
+BR,\r
+Jani.\r
+\r
+\r
+> ---\r
+> test/T070-insert.sh | 22 ++++++++++++++++++++++\r
+> 1 file changed, 22 insertions(+)\r
+>\r
+> diff --git a/test/T070-insert.sh b/test/T070-insert.sh\r
+> index ea9db07..40a7636 100755\r
+> --- a/test/T070-insert.sh\r
+> +++ b/test/T070-insert.sh\r
+> @@ -183,4 +183,26 @@ test_expect_code 1 "Invalid tags set exit code" \\r
+> \r
+> notmuch config set new.tags $OLDCONFIG\r
+> \r
+> +# DUPLICATE_MESSAGE_ID is not tested here, because it should actually pass.\r
+> +\r
+> +for code in OUT_OF_MEMORY XAPIAN_EXCEPTION FILE_NOT_EMAIL \\r
+> + READ_ONLY_DATABASE UPGRADE_REQUIRED; do\r
+> +gen_insert_msg\r
+> +cat <<EOF > index-file-$code.gdb\r
+> +file notmuch\r
+> +set breakpoint pending on\r
+> +break notmuch_database_add_message\r
+> +commands\r
+> +return NOTMUCH_STATUS_$code\r
+> +continue\r
+> +end\r
+> +run\r
+> +EOF\r
+> +test_begin_subtest "error exit when add_message returns $code"\r
+> +test_subtest_known_broken\r
+> +gdb --batch-silent --return-child-result -x index-file-$code.gdb \\r
+> + --args notmuch insert < $gen_msg_filename\r
+> +test_expect_equal $? 1\r
+> +done\r
+> +\r
+> test_done\r
+> -- \r
+> 2.1.0\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r