database error
[notmuch-archives.git] / 60 / 92c38448cf0206f3038da3bc1f37087703be3e
1 Return-Path: <jf.hyqohaczlksw4tx6ae@l2015aftruuq.dns007.net>\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 arlo.cworth.org (Postfix) with ESMTP id 25A166DE1778\r
6  for <notmuch@notmuchmail.org>; Tue,  5 Jan 2016 02:55:12 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.286\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.286 tagged_above=-999 required=5 tests=[AWL=0.089, \r
12  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001,\r
14  TVD_FROM_1=0.999] autolearn=disabled\r
15 Received: from arlo.cworth.org ([127.0.0.1])\r
16  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
17  with ESMTP id qTXGXkn7kX10 for <notmuch@notmuchmail.org>;\r
18  Tue,  5 Jan 2016 02:55:09 -0800 (PST)\r
19 Received: from know-smtprelay-omc-2.server.virginmedia.net\r
20  (know-smtprelay-omc-2.server.virginmedia.net [80.0.253.66])\r
21  by arlo.cworth.org (Postfix) with ESMTP id 316856DE1770\r
22  for <notmuch@notmuchmail.org>; Tue,  5 Jan 2016 02:55:09 -0800 (PST)\r
23 Received: from dev.koan19.net ([82.1.197.255])\r
24  by know-smtprelay-2-imp with bizsmtp\r
25  id 2Av51s00F5X6CWA01Av6m6; Tue, 05 Jan 2016 10:55:06 +0000\r
26 X-Originating-IP: [82.1.197.255]\r
27 X-Spam: 0\r
28 X-Authority: v=2.1 cv=RLtOZNW+ c=1 sm=1 tr=0 a=D+CNGfzuhY6ArhcYgadsyQ==:117\r
29  a=D+CNGfzuhY6ArhcYgadsyQ==:17 a=jxr8AxaCAAAA:8 a=L9H7d07YOLsA:10\r
30  a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=dmPqMsitAAAA:8 a=hov-Noh0Y1sA:10\r
31  a=kj9zAlcOel0A:10 a=0eZk5v5M3_xY87suvTcA:9 a=CjuIK1q_8ugA:10\r
32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;\r
33  d=l2015aftruuq.dns007.net; i=@l2015aftruuq.dns007.net; q=dns/txt; s=l201512;\r
34  t=1451991305; h=To :  Subject : MIME-Version : Content-Type : From :\r
35  Message-ID : Date :  X-Originating-IP : Subject : From : Date;\r
36   bh=W5LCuZHshw/upkFZ9DmXHgjrahFyoGpgWbqNkkm9nhE=;\r
37   b=eax8cheNE6CV4RYqKFGPFrIv5lNj9arCIrJ+ubNSsByiD9hgtBGg+0VE9hVkEkV78rDhvD\r
38  s8V42CSaNZLaoJ5W/UuN5r/2I50N4LIDCFzIu7M1kD6lO9dV6UmNAnFpuGtP1253VaC/WCx0\r
39  f/w1TQDdzoyuRKB44ZgnL7zueIxFBlyOQwyjL4JZqBhtCpi+cd/X1YjKlrsN/Bs+V2KnaK6g ==\r
40 To: notmuch@notmuchmail.org\r
41 Subject: T070 tests portability\r
42 MIME-Version: 1.0\r
43 Content-Type: text/plain; charset=us-ascii\r
44 Content-Disposition: inline\r
45 User-Agent: Mutt/1.5.23.1 (2014-03-12)\r
46 From: J Farkas <jf.hyqohaczlksw4tx6ae@l2015aftruuq.dns007.net>\r
47 Message-ID: <1451991305.14.acc64b88@201601.l2015aftruuq.dns007.net>\r
48 Date: Tue, 05 Jan 2016 10:55:05 +0000\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.20\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53  <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
55  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
60  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Tue, 05 Jan 2016 10:55:12 -0000\r
62 \r
63 I'm in the process of writing insert tests, but it looks like my\r
64 environment is somewhat older than what the current tests are running\r
65 on.  The following two trivial changes for the original tests make those\r
66 pass cleanly:\r
67 \r
68 The wc I have from GNU textutils 2.0.22 seems to produce extra\r
69 whitespace that needs to be cleaned:\r
70 \r
71 diff --git a/test/T070-insert.sh b/test/T070-insert.sh\r
72 index e7ec6a6..5864b9b 100755\r
73 --- a/test/T070-insert.sh\r
74 +++ b/test/T070-insert.sh\r
75 @@ -62,3 +62,3 @@ test_begin_subtest "Insert duplicate message"\r
76  notmuch insert +duptag -unread < "$gen_msg_filename"\r
77 -output=$(notmuch search --output=files "subject:insert-subject" | wc -l)\r
78 +output=$(notmuch search --output=files "subject:insert-subject" | echo $(wc -l))\r
79  test_expect_equal "$output" 2\r
80 \r
81 And without the following cast, gdb 7.4 complains about the return type.\r
82 \r
83     index-file-XAPIAN_EXCEPTION.gdb:7: Error in sourced command file:\r
84     Return value type not available for selected stack frame.\r
85     Please use an explicit cast of the value to return.\r
86 \r
87 diff --git a/test/T070-insert.sh b/test/T070-insert.sh\r
88 index e7ec6a6..5864b9b 100755\r
89 --- a/test/T070-insert.sh\r
90 +++ b/test/T070-insert.sh\r
91 @@ -196,3 +196,3 @@ break notmuch_database_add_message\r
92  commands\r
93 -return NOTMUCH_STATUS_$code\r
94 +return (int)NOTMUCH_STATUS_$code\r
95  continue\r
96 \r
97 Does any of the above look reasonable to reduce the false positives?\r
98 With the above, the T070 tests all pass on my system.\r
99 \r
100 Janos\r
101 \r