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 F25CD429E29
\r
6 for <notmuch@notmuchmail.org>; Thu, 1 Mar 2012 14:29:47 -0800 (PST)
\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 AC-utmMJepaO for <notmuch@notmuchmail.org>;
\r
18 Thu, 1 Mar 2012 14:29:47 -0800 (PST)
\r
19 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
20 [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
21 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
22 3F755429E37 for <notmuch@notmuchmail.org>; Thu, 1 Mar 2012 14:29:34 -0800
\r
24 Received: by mail-ww0-f45.google.com with SMTP id dt12so108365wgb.2
\r
25 for <notmuch@notmuchmail.org>; Thu, 01 Mar 2012 14:29:34 -0800 (PST)
\r
26 Received-SPF: pass (google.com: domain of markwalters1009@gmail.com designates
\r
27 10.180.99.100 as permitted sender) client-ip=10.180.99.100;
\r
28 Authentication-Results: mr.google.com; spf=pass (google.com: domain of
\r
29 markwalters1009@gmail.com designates 10.180.99.100 as permitted
\r
30 sender) smtp.mail=markwalters1009@gmail.com;
\r
31 dkim=pass header.i=markwalters1009@gmail.com
\r
32 Received: from mr.google.com ([10.180.99.100])
\r
33 by 10.180.99.100 with SMTP id ep4mr14966029wib.7.1330640974083
\r
34 (num_hops = 1); Thu, 01 Mar 2012 14:29:34 -0800 (PST)
\r
35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
36 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
37 bh=vpoOeVGyYmTy5uCIjoxuoUv0T013T2zX8Mdr/8XUWm8=;
\r
38 b=WBDgPPjG6o3ZL5CfhyC9Y/SXRPhSmAcxuXr03BRYaOmnqAvQRCgHzhWOz76Zlcpdto
\r
39 6Z0d7fm+qZ9FEkGcD3+VOFY4c74NkrDWaxK5HpZohNx7EH/HnH3FF0N66Ym4Ulmf+C9T
\r
40 pVzLX570cWzav97XLzuDQxb1EruNYeiMsiGv7FmO+NE2i/GjkxH6Bs6sPr5B0/eEzGr5
\r
41 XY5f71Wc1Xk0JjFUGK3S18423A8lRJ30wbG3yJhFmrU9x9j4dsGZGpoFPFoOvLPtlzKV
\r
42 Pg1jnIkxvK+vQc/OdW9poIQX7RIdirGul41ULftrpTS6T325ZxtDT8GqYmMXXmEhifRT
\r
44 Received: by 10.180.99.100 with SMTP id ep4mr12005881wib.7.1330640974017;
\r
45 Thu, 01 Mar 2012 14:29:34 -0800 (PST)
\r
46 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.
\r
47 [94.192.233.223]) by mx.google.com with ESMTPS id
\r
48 fw5sm44680083wib.0.2012.03.01.14.29.32 (version=TLSv1/SSLv3 cipher=OTHER);
\r
49 Thu, 01 Mar 2012 14:29:33 -0800 (PST)
\r
50 From: Mark Walters <markwalters1009@gmail.com>
\r
51 To: notmuch@notmuchmail.org
\r
52 Subject: [Patch v7 07/13] test: update search test to reflect exclude flag
\r
53 Date: Thu, 1 Mar 2012 22:30:39 +0000
\r
54 Message-Id: <1330641045-27416-8-git-send-email-markwalters1009@gmail.com>
\r
55 X-Mailer: git-send-email 1.7.2.3
\r
56 In-Reply-To: <1330641045-27416-1-git-send-email-markwalters1009@gmail.com>
\r
57 References: <1330641045-27416-1-git-send-email-markwalters1009@gmail.com>
\r
58 X-BeenThere: notmuch@notmuchmail.org
\r
59 X-Mailman-Version: 2.1.13
\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: Thu, 01 Mar 2012 22:29:48 -0000
\r
72 notmuch-search.c now returns all matching threads even if it the
\r
73 match is a search.tag_excluded message (but with a mark indicating
\r
74 this). Update the test to reflect this.
\r
77 1 files changed, 2 insertions(+), 1 deletions(-)
\r
79 diff --git a/test/search b/test/search
\r
80 index 3da5d17..081f60c 100755
\r
83 @@ -136,7 +136,8 @@ generate_message '[subject]="Deleted"'
\r
84 notmuch new > /dev/null
\r
85 notmuch tag +deleted id:$gen_msg_id
\r
86 output=$(notmuch search subject:deleted | notmuch_search_sanitize)
\r
87 -test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Not deleted (inbox unread)"
\r
88 +test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Not deleted (inbox unread)
\r
89 +thread:XXX 2001-01-05 [0/1] Notmuch Test Suite; Deleted (deleted inbox unread)"
\r
91 test_begin_subtest "Exclude \"deleted\" messages from search, overridden"
\r
92 output=$(notmuch search subject:deleted and tag:deleted | notmuch_search_sanitize)
\r