1 Return-Path: <markwalters1009@gmail.com>
\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 AD47B431FD6
\r
6 for <notmuch@notmuchmail.org>; Wed, 14 Mar 2012 05:26:59 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,
\r
14 RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id U5mLFeD05hbF for <notmuch@notmuchmail.org>;
\r
18 Wed, 14 Mar 2012 05:26:59 -0700 (PDT)
\r
19 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
20 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
21 (No client certificate requested)
\r
22 by olra.theworths.org (Postfix) with ESMTPS id 1CBAA431FCF
\r
23 for <notmuch@notmuchmail.org>; Wed, 14 Mar 2012 05:26:58 -0700 (PDT)
\r
24 Received: by werm13 with SMTP id m13so1833650wer.26
\r
25 for <notmuch@notmuchmail.org>; Wed, 14 Mar 2012 05:26:57 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
27 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references
\r
28 :mime-version:content-type:content-transfer-encoding;
\r
29 bh=v79/X18bJ0gQQRWIh3D2GPPc5YO0irSjYRB/JQtptjU=;
\r
30 b=0kBEAkNbJZZkQZDdUK/bd5L+fPGxNMoIdSpeT3RaR9w3R0mucScx/f2IBdZH6IJBNX
\r
31 GSZbif+2QXiURx58PsDpXZ7pxXmxnchwCysMAfIKJo6V9bWfWO6puv48TGVHFVaBxbT7
\r
32 bqYYP+/z8ODAxmO6V0vQJ7E09hd2ZyIi69Dab0m5dARD9mg7ZC9IafY1WyY98xk3fZmJ
\r
33 Jv85cUJS8sQgTVeIMzIzcoqRuvtMLMIbbIfTT7emePgttPdHQdASTIsqB99qBh+sf/XS
\r
34 EX2Kwi4KsTVS7i9tjiayU0oOZIuezdjS4Kp7jf0x0HbJwxpf96TZgqeWeSyATjnmmxX0
\r
36 Received: by 10.216.135.141 with SMTP id u13mr1445618wei.79.1331728017831;
\r
37 Wed, 14 Mar 2012 05:26:57 -0700 (PDT)
\r
38 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.
\r
39 [94.192.233.223]) by mx.google.com with ESMTPS id
\r
40 d7sm15991671wiz.6.2012.03.14.05.26.56 (version=TLSv1/SSLv3 cipher=OTHER);
\r
41 Wed, 14 Mar 2012 05:26:57 -0700 (PDT)
\r
42 From: Mark Walters <markwalters1009@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [Patch v2 1/3] test: the test for the exclude code mistakenly excludes the tag "="
\r
45 Date: Wed, 14 Mar 2012 12:26:52 +0000
\r
46 Message-Id: <1331728014-32698-2-git-send-email-markwalters1009@gmail.com>
\r
47 X-Mailer: git-send-email 1.7.9.1
\r
48 In-Reply-To: <1331728014-32698-1-git-send-email-markwalters1009@gmail.com>
\r
49 References: <1331728014-32698-1-git-send-email-markwalters1009@gmail.com>
\r
51 Content-Type: text/plain; charset=UTF-8
\r
52 Content-Transfer-Encoding: 8bit
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Wed, 14 Mar 2012 12:26:59 -0000
\r
67 The tests for the exclude code in search and count use the line
\r
68 notmuch config set search.exclude_tags = deleted
\r
69 which actually sets the exclude tags to be "=" and "deleted". Remove
\r
70 the "=" from this line.
\r
74 2 files changed, 2 insertions(+), 2 deletions(-)
\r
76 diff --git a/test/count b/test/count
\r
77 index 976fff1..b97fc06 100755
\r
80 @@ -38,7 +38,7 @@ test_expect_equal \
\r
81 "`notmuch count --output=threads ${SEARCH}`"
\r
83 test_begin_subtest "count excluding \"deleted\" messages"
\r
84 -notmuch config set search.exclude_tags = deleted
\r
85 +notmuch config set search.exclude_tags deleted
\r
86 generate_message '[subject]="Not deleted"'
\r
87 generate_message '[subject]="Another not deleted"'
\r
88 generate_message '[subject]="Deleted"'
\r
89 diff --git a/test/search b/test/search
\r
90 index 081f60c..3e3a462 100755
\r
93 @@ -130,7 +130,7 @@ output=$(notmuch search "bödý" | notmuch_search_sanitize)
\r
94 test_expect_equal "$output" "thread:XXX 2000-01-01 [1/1] Notmuch Test Suite; utf8-message-body-subject (inbox unread)"
\r
96 test_begin_subtest "Exclude \"deleted\" messages from search"
\r
97 -notmuch config set search.exclude_tags = deleted
\r
98 +notmuch config set search.exclude_tags deleted
\r
99 generate_message '[subject]="Not deleted"'
\r
100 generate_message '[subject]="Deleted"'
\r
101 notmuch new > /dev/null
\r