database error
[notmuch-archives.git] / e2 / fd2631227be4b28ffd6f61be738a1c68938d5e
1 Return-Path: <jrollins@servo.finestructure.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 olra.theworths.org (Postfix) with ESMTP id AF7A0429E2F\r
6         for <notmuch@notmuchmail.org>; Sat, 28 May 2011 14:52:22 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.921\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5\r
12         tests=[NO_DNS_FOR_FROM=0.379, RCVD_IN_DNSWL_MED=-2.3]\r
13         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 OwTPJf3dIHQF for <notmuch@notmuchmail.org>;\r
17         Sat, 28 May 2011 14:52:21 -0700 (PDT)\r
18 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
19         [131.215.239.19])\r
20         by olra.theworths.org (Postfix) with ESMTP id EE016429E32\r
21         for <notmuch@notmuchmail.org>; Sat, 28 May 2011 14:52:14 -0700 (PDT)\r
22 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
23         by fire-doxen-postvirus (Postfix) with ESMTP id 527672E50EEB;\r
24         Sat, 28 May 2011 14:45:47 -0700 (PDT)\r
25 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
26 Received: from servo.finestructure.net (cpe-98-149-172-122.socal.res.rr.com\r
27         [98.149.172.122]) (Authenticated sender: jrollins)\r
28         by fire-doxen-submit (Postfix) with ESMTP id 68A74328124;\r
29         Sat, 28 May 2011 14:45:43 -0700 (PDT)\r
30 Received: by servo.finestructure.net (Postfix, from userid 1000)\r
31         id 359547B6; Sat, 28 May 2011 14:52:05 -0700 (PDT)\r
32 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
33 To: Notmuch Mail <notmuch@notmuchmail.org>\r
34 Subject: [PATCH 11/25] test: add test for sanitized notmuch-search output\r
35 Date: Sat, 28 May 2011 14:51:46 -0700\r
36 Message-Id: <1306619520-25730-12-git-send-email-jrollins@finestructure.net>\r
37 X-Mailer: git-send-email 1.7.4.4\r
38 In-Reply-To: <1306619520-25730-11-git-send-email-jrollins@finestructure.net>\r
39 References: <1306619520-25730-1-git-send-email-jrollins@finestructure.net>\r
40         <1306619520-25730-2-git-send-email-jrollins@finestructure.net>\r
41         <1306619520-25730-3-git-send-email-jrollins@finestructure.net>\r
42         <1306619520-25730-4-git-send-email-jrollins@finestructure.net>\r
43         <1306619520-25730-5-git-send-email-jrollins@finestructure.net>\r
44         <1306619520-25730-6-git-send-email-jrollins@finestructure.net>\r
45         <1306619520-25730-7-git-send-email-jrollins@finestructure.net>\r
46         <1306619520-25730-8-git-send-email-jrollins@finestructure.net>\r
47         <1306619520-25730-9-git-send-email-jrollins@finestructure.net>\r
48         <1306619520-25730-10-git-send-email-jrollins@finestructure.net>\r
49         <1306619520-25730-11-git-send-email-jrollins@finestructure.net>\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Sat, 28 May 2011 21:52:23 -0000\r
63 \r
64 From: Florian Friesdorf <flo@chaoflow.net>\r
65 \r
66 Signed-off-by: Jameson Graef Rollins <jrollins@finestructure.net>\r
67 ---\r
68  test/search-output |    9 +++++++++\r
69  1 files changed, 9 insertions(+), 0 deletions(-)\r
70 \r
71 diff --git a/test/search-output b/test/search-output\r
72 index 13f9613..8edc26a 100755\r
73 --- a/test/search-output\r
74 +++ b/test/search-output\r
75 @@ -304,6 +304,15 @@ cat <<EOF >EXPECTED\r
76  EOF\r
77  test_expect_equal_file OUTPUT EXPECTED\r
78  \r
79 +test_begin_subtest "santize output for quoted-printable line-breaks in author and subject"\r
80 +add_message "[subject]='two =?ISO-8859-1?Q?line=0A_subject?=\r
81 +       headers'"\r
82 +notmuch search id:"$gen_msg_id" >OUTPUT\r
83 +cat <<EOF >EXPECTED\r
84 +thread:000000000000001b   2001-01-05 [1/1] Notmuch Test Suite; two line? subject headers (inbox unread)\r
85 +EOF\r
86 +test_expect_equal_file OUTPUT EXPECTED\r
87 +\r
88  test_begin_subtest "notmuch search for non-existent message prints nothing"\r
89  notmuch search "no-message-matches-this" > OUTPUT\r
90  echo -n >EXPECTED\r
91 -- \r
92 1.7.4.4\r
93 \r