Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 47 / 70b5da64b9626df03bdb5978ecdcf3ee4f82d0
1 Return-Path: <jani@nikula.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 242BC431FB6\r
6         for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 01:34:59 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id duFOValUQ7Zx for <notmuch@notmuchmail.org>;\r
16         Fri, 17 Oct 2014 01:34:51 -0700 (PDT)\r
17 Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com\r
18  [74.125.82.44])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  55B72431FAF    for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 01:34:51 -0700\r
21  (PDT)\r
22 Received: by mail-wg0-f44.google.com with SMTP id y10so378526wgg.3\r
23         for <notmuch@notmuchmail.org>; Fri, 17 Oct 2014 01:34:49 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=1e100.net; s=20130820;\r
26         h=x-gm-message-state:from:to:subject:in-reply-to:references\r
27         :user-agent:date:message-id:mime-version:content-type;\r
28         bh=HbMZmpgdlCR7ymiLfoLMoiL4Oljso4/Eo2IIvETbRKA=;\r
29         b=l3roD5nV424bEmoeHkYgpAUXobNYq8zObthb4Ma6oUgbLot7dc4ui7q3wAl41k2ea7\r
30         psh3epIX4Ty9oZGbfuhZ+Jx9m+m+Tg8+j5xdMo0NSm5kvNXlvh4xcYnLMUfvWpw2Frox\r
31         litzKbiFc2dPU567Vyu3rZ5tsYsG+OE7cvE98EDJEkqWGKKkPKAoHHcm2KLbpg+UcWRX\r
32         +1Ear5gsr0I0NxBLkJsLzTjjjz9eprSNCkcL69e1vsO+WxH1jWkRsrJJzRyq1xu28XIt\r
33         znvp9yZn1Lc3E1mrL8q8FS1m8QkgbpS5VUb1qki6LkVaiEc7R+d9kJtspLd/6QFeNF/A\r
34         M/oQ==\r
35 X-Gm-Message-State:\r
36  ALoCoQlkuCkL+9nU6djJr4LS5qro3AqqTSVxrEbH7MY/cyXkC9rnH2vL9/PbMzcPZJBw2BjRxw91\r
37 X-Received: by 10.180.14.196 with SMTP id r4mr11853835wic.33.1413534888803;\r
38         Fri, 17 Oct 2014 01:34:48 -0700 (PDT)\r
39 Received: from localhost (mobile-internet-5d6ad2-138.dhcp.inet.fi.\r
40         [93.106.210.138])\r
41         by mx.google.com with ESMTPSA id q5sm798323wja.49.2014.10.17.01.34.47\r
42         for <multiple recipients>\r
43         (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
44         Fri, 17 Oct 2014 01:34:48 -0700 (PDT)\r
45 From: Jani Nikula <jani@nikula.org>\r
46 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
47 Subject: Re: [Patch v2.5 1/4] test/insert: add known broken tests for\r
48         indexing        failures\r
49 In-Reply-To: <1412371140-21051-2-git-send-email-david@tethera.net>\r
50 References: <1412371140-21051-1-git-send-email-david@tethera.net>\r
51         <1412371140-21051-2-git-send-email-david@tethera.net>\r
52 User-Agent: Notmuch/0.18.1+65~g9f0f30f (http://notmuchmail.org) Emacs/24.3.1\r
53         (x86_64-pc-linux-gnu)\r
54 Date: Fri, 17 Oct 2014 11:34:45 +0300\r
55 Message-ID: <87siin2ixm.fsf@nikula.org>\r
56 MIME-Version: 1.0\r
57 Content-Type: text/plain\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.13\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Fri, 17 Oct 2014 08:34:59 -0000\r
71 \r
72 On Sat, 04 Oct 2014, David Bremner <david@tethera.net> wrote:\r
73 > These tests are written with the assumption that we want all indexing\r
74 > failures to be considered as failures by notmuch insert.\r
75 \r
76 Just realized this needs a missing prereq test for gdb.\r
77 \r
78 BR,\r
79 Jani.\r
80 \r
81 \r
82 > ---\r
83 >  test/T070-insert.sh | 22 ++++++++++++++++++++++\r
84 >  1 file changed, 22 insertions(+)\r
85 >\r
86 > diff --git a/test/T070-insert.sh b/test/T070-insert.sh\r
87 > index ea9db07..40a7636 100755\r
88 > --- a/test/T070-insert.sh\r
89 > +++ b/test/T070-insert.sh\r
90 > @@ -183,4 +183,26 @@ test_expect_code 1 "Invalid tags set exit code" \\r
91 >  \r
92 >  notmuch config set new.tags $OLDCONFIG\r
93 >  \r
94 > +# DUPLICATE_MESSAGE_ID is not tested here, because it should actually pass.\r
95 > +\r
96 > +for code in OUT_OF_MEMORY XAPIAN_EXCEPTION FILE_NOT_EMAIL \\r
97 > +    READ_ONLY_DATABASE UPGRADE_REQUIRED; do\r
98 > +gen_insert_msg\r
99 > +cat <<EOF > index-file-$code.gdb\r
100 > +file notmuch\r
101 > +set breakpoint pending on\r
102 > +break notmuch_database_add_message\r
103 > +commands\r
104 > +return NOTMUCH_STATUS_$code\r
105 > +continue\r
106 > +end\r
107 > +run\r
108 > +EOF\r
109 > +test_begin_subtest "error exit when add_message returns $code"\r
110 > +test_subtest_known_broken\r
111 > +gdb --batch-silent --return-child-result -x index-file-$code.gdb \\r
112 > +    --args notmuch insert  < $gen_msg_filename\r
113 > +test_expect_equal $? 1\r
114 > +done\r
115 > +\r
116 >  test_done\r
117 > -- \r
118 > 2.1.0\r
119 >\r
120 > _______________________________________________\r
121 > notmuch mailing list\r
122 > notmuch@notmuchmail.org\r
123 > http://notmuchmail.org/mailman/listinfo/notmuch\r