[PATCH 3/3] test: canonicalize quotes in xapian error messages
[notmuch-archives.git] / 4c / a075e773b1ce27610ce4491477995dfd81c1ac
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 423AC431FBD\r
6         for <notmuch@notmuchmail.org>; Sat, 25 Feb 2012 22:34:20 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.201\r
10 X-Spam-Level: \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 35oGMHKFzTqk for <notmuch@notmuchmail.org>;\r
18         Sat, 25 Feb 2012 22:34:19 -0800 (PST)\r
19 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
20         [209.85.212.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 A56C6431FAE\r
23         for <notmuch@notmuchmail.org>; Sat, 25 Feb 2012 22:34:19 -0800 (PST)\r
24 Received: by wibhi8 with SMTP id hi8so2583573wib.26\r
25         for <notmuch@notmuchmail.org>; Sat, 25 Feb 2012 22:34:18 -0800 (PST)\r
26 Received-SPF: pass (google.com: domain of markwalters1009@gmail.com designates\r
27         10.180.86.9 as permitted sender) client-ip=10.180.86.9; \r
28 Authentication-Results: mr.google.com; spf=pass (google.com: domain of\r
29         markwalters1009@gmail.com designates 10.180.86.9 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.86.9])\r
33         by 10.180.86.9 with SMTP id l9mr17947746wiz.15.1330238058463 (num_hops\r
34         = 1); Sat, 25 Feb 2012 22:34:18 -0800 (PST)\r
35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
36         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
37         bh=vpoOeVGyYmTy5uCIjoxuoUv0T013T2zX8Mdr/8XUWm8=;\r
38         b=EYxqARL5FZZl3VXbJhrcmj8n+J/xkZLpEEfGJ0w7/T8FDhlHTCuKTUkjyjPFnc0y3q\r
39         qbesQBl0LLMZJ60o5mvVvGRXYvhC5dPXGJgtFKKpvyiQ3EH7qGDzte8+SJol8k1oOiK7\r
40         ccnd/LrXstFKt6WvTmbt0cTH2CWs2pJDfy8co=\r
41 Received: by 10.180.86.9 with SMTP id l9mr9302191wiz.15.1330157141939;\r
42         Sat, 25 Feb 2012 00:05:41 -0800 (PST)\r
43 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
44  [94.192.233.223])      by mx.google.com with ESMTPS id\r
45  m8sm20573789wia.11.2012.02.25.00.05.40 (version=TLSv1/SSLv3 cipher=OTHER);\r
46         Sat, 25 Feb 2012 00:05:41 -0800 (PST)\r
47 From: Mark Walters <markwalters1009@gmail.com>\r
48 To: notmuch@notmuchmail.org,\r
49         Austin Clements <amdragon@MIT.EDU>\r
50 Subject: [Patch v6 07/13] test: update search test to reflect exclude flag\r
51 Date: Sat, 25 Feb 2012 08:06:38 +0000\r
52 Message-Id: <1330157204-26094-8-git-send-email-markwalters1009@gmail.com>\r
53 X-Mailer: git-send-email 1.7.2.3\r
54 In-Reply-To: <1330157204-26094-1-git-send-email-markwalters1009@gmail.com>\r
55 References: <1330157204-26094-1-git-send-email-markwalters1009@gmail.com>\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Sun, 26 Feb 2012 06:34:20 -0000\r
69 \r
70 notmuch-search.c now returns all matching threads even if it the\r
71 match is a search.tag_excluded message (but with a mark indicating\r
72 this). Update the test to reflect this.\r
73 ---\r
74  test/search |    3 ++-\r
75  1 files changed, 2 insertions(+), 1 deletions(-)\r
76 \r
77 diff --git a/test/search b/test/search\r
78 index 3da5d17..081f60c 100755\r
79 --- a/test/search\r
80 +++ b/test/search\r
81 @@ -136,7 +136,8 @@ generate_message '[subject]="Deleted"'\r
82  notmuch new > /dev/null\r
83  notmuch tag +deleted id:$gen_msg_id\r
84  output=$(notmuch search subject:deleted | notmuch_search_sanitize)\r
85 -test_expect_equal "$output" "thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; Not deleted (inbox unread)"\r
86 +test_expect_equal "$output" "thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; Not deleted (inbox unread)\r
87 +thread:XXX   2001-01-05 [0/1] Notmuch Test Suite; Deleted (deleted inbox unread)"\r
88  \r
89  test_begin_subtest "Exclude \"deleted\" messages from search, overridden"\r
90  output=$(notmuch search subject:deleted and tag:deleted | notmuch_search_sanitize)\r
91 -- \r
92 1.7.2.3\r
93 \r