Re: talloc_abort in notmuch_thread_get_tags () when db has been modified
[notmuch-archives.git] / 57 / bfdb83e7675f428f63f018f7b4122e0b90443e
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 2BC2B429E28\r
6         for <notmuch@notmuchmail.org>; Sun,  9 Jun 2013 04:04:09 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id kt2teqWouZMv for <notmuch@notmuchmail.org>;\r
17         Sun,  9 Jun 2013 04:04:01 -0700 (PDT)\r
18 Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com\r
19         [209.85.217.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 24325431FAE\r
22         for <notmuch@notmuchmail.org>; Sun,  9 Jun 2013 04:03:40 -0700 (PDT)\r
23 Received: by mail-lb0-f177.google.com with SMTP id 10so4963573lbf.8\r
24         for <notmuch@notmuchmail.org>; Sun, 09 Jun 2013 04:03:38 -0700 (PDT)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=google.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
28         :in-reply-to:references:x-gm-message-state;\r
29         bh=b7qFPTVmDcYsc5kFkj73erswYlfyc2vtX4m1bFU8D1c=;\r
30         b=msJ/i1Max4851xVhbNt4NStNHSO30GuadSnlcPOy/E5WdXTZKW6SFVBJyCs4p6L0rL\r
31         HD95QKOwEMGAVqsnZC2F5Cypug5pmNLAmstWOxnRPmtXhHgfjdyuc7oL3KeqL4SdqfI4\r
32         IRiUT0dJ7oMXzXmJgaxpJU2W7Rv/ANHXcbFepH9MvlTXJmrO/f1giZsW8kc3QUGbCQFK\r
33         uJAxs5VVQibPfEYx2XsbjeuCtWSlp5juhrG4SMBe7id6IvGh/6vf+xb3MFHD4ZNgr/dh\r
34         I+BOXCwTo4g4HkIKUYvMv/Igk6igKXAPK8/93OLzWRalUkQ8feHSPAAJieO+NDwTyMUX\r
35         g5SA==\r
36 X-Received: by 10.152.88.105 with SMTP id bf9mr1173817lab.38.1370775818658;\r
37         Sun, 09 Jun 2013 04:03:38 -0700 (PDT)\r
38 Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi.\r
39         [88.195.118.211])\r
40         by mx.google.com with ESMTPSA id w9sm2080603lbk.7.2013.06.09.04.03.36\r
41         for <multiple recipients>\r
42         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
43         Sun, 09 Jun 2013 04:03:37 -0700 (PDT)\r
44 From: Jani Nikula <jani@nikula.org>\r
45 To: notmuch@notmuchmail.org\r
46 Subject: [PATCH v2 5/7] test: test notmuch count --output=files\r
47 Date: Sun,  9 Jun 2013 14:03:11 +0300\r
48 Message-Id:\r
49  <9da399e33dc5cde22aabd3015dfd36dc98f67f45.1370775663.git.jani@nikula.org>\r
50 X-Mailer: git-send-email 1.7.10.4\r
51 In-Reply-To: <cover.1370775663.git.jani@nikula.org>\r
52 References: <cover.1370775663.git.jani@nikula.org>\r
53 In-Reply-To: <cover.1370775663.git.jani@nikula.org>\r
54 References: <cover.1370775663.git.jani@nikula.org>\r
55 X-Gm-Message-State:\r
56  ALoCoQkITjr2+5swj292oezlf+pmQxbJt93bo+ri3pdd3E/4x7SQ+2d/K/PostQqK6PCULHpR4wS\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Sun, 09 Jun 2013 11:04:09 -0000\r
70 \r
71 ---\r
72  test/count |   10 ++++++++++\r
73  1 file changed, 10 insertions(+)\r
74 \r
75 diff --git a/test/count b/test/count\r
76 index 05713fd..da86c8c 100755\r
77 --- a/test/count\r
78 +++ b/test/count\r
79 @@ -28,6 +28,16 @@ test_expect_equal \\r
80      "$((`notmuch search '*' | wc -l`))" \\r
81      "`notmuch count --output=threads '*'`"\r
82  \r
83 +test_begin_subtest "files count"\r
84 +test_expect_equal \\r
85 +    "$((`notmuch search --output=files '*' | wc -l`))" \\r
86 +    "`notmuch count --output=files '*'`"\r
87 +\r
88 +test_begin_subtest "files count for a duplicate message-id"\r
89 +test_expect_equal \\r
90 +    "2" \\r
91 +    "`notmuch count --output=files id:20091117232137.GA7669@griffis1.net`"\r
92 +\r
93  test_begin_subtest "count with no matching messages"\r
94  test_expect_equal \\r
95      "0" \\r
96 -- \r
97 1.7.10.4\r
98 \r