1 Return-Path: <ma.skies@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 8C28A429E25
\r
6 for <notmuch@notmuchmail.org>; Fri, 24 Jun 2011 16:24:30 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, 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 OuZeSLrPLSGk for <notmuch@notmuchmail.org>;
\r
17 Fri, 24 Jun 2011 16:24:30 -0700 (PDT)
\r
18 Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com
\r
19 [209.85.214.181]) (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 EF347431FD0
\r
22 for <notmuch@notmuchmail.org>; Fri, 24 Jun 2011 16:24:29 -0700 (PDT)
\r
23 Received: by iwn37 with SMTP id 37so3144664iwn.26
\r
24 for <notmuch@notmuchmail.org>; Fri, 24 Jun 2011 16:24:28 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=domainkey-signature:from:to:subject:date:user-agent:message-id
\r
27 :mime-version:content-type;
\r
28 bh=9zbxTk4cuEt+JDf+0EkTNHJfW0wx0Nn2ZP7iC0p8qSk=;
\r
29 b=QjzfPflyeVKV5xKoQppgCa1gWTCrM1/wEyN4VhelZDdXISVu4Z6As8LQLERfnVEWQz
\r
30 qb01VUKxMcKKeegJzfDNYQisgH7s3d8/tehHzkUJw6A6T5VQMhHCfMpEucv/qGJrLnKU
\r
31 4RVq2iSqrsASccIa7UwmlqQIIbg59GNwXMnMQ=
\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
33 h=from:to:subject:date:user-agent:message-id:mime-version
\r
35 b=lrwGamfuZtEZuFmXXDv9/edDjLsfFvKTnpre5YcX9px/9Xw4IB3aFin1T4SqpJe8cM
\r
36 CvVmxxCs3gWRS+5d/5dVSMeZCqJ95LcnkMzmsJFD1OVMUpaKXC6uf0kC8nxVPtI9UT7b
\r
37 OxlDLExZcs4Wvsl2qif3x4eWKADrePAJQyz5E=
\r
38 Received: by 10.42.243.3 with SMTP id lk3mr4020395icb.161.1308957868106;
\r
39 Fri, 24 Jun 2011 16:24:28 -0700 (PDT)
\r
40 Received: from localhost ([74.205.145.146])
\r
41 by mx.google.com with ESMTPS id hw7sm3035353icc.15.2011.06.24.16.24.26
\r
42 (version=TLSv1/SSLv3 cipher=OTHER);
\r
43 Fri, 24 Jun 2011 16:24:27 -0700 (PDT)
\r
44 From: Mark Anderson <ma.skies@gmail.com>
\r
45 To: notmuch@notmuchmail.org
\r
46 Subject: [PATCH 1/2] test:Expect multiple filenames for message with multiple
\r
48 Date: Fri, 24 Jun 2011 16:36:40 -0600
\r
49 User-Agent: Notmuch/0.5-283-gb744eac (http://notmuchmail.org) Emacs/23.2.1
\r
51 From d13ce638a1d9993d27333f1176a9fdaaa7864f48 Mon Sep 17 00:00:00 2001
\r
52 Message-ID: <87boxmdd9h.fsf@gmail.com>
\r
54 Content-Type: text/plain; charset=us-ascii
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 List-Id: "Use and development of the notmuch mail system."
\r
59 <notmuch.notmuchmail.org>
\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
63 List-Post: <mailto:notmuch@notmuchmail.org>
\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
67 X-List-Received-Date: Fri, 24 Jun 2011 23:24:30 -0000
\r
70 Update the test mail corpus to have two files with the same content to
\r
71 expose the bug where a single message with multiple filenames only
\r
72 reports a single filename.
\r
74 Update expected results for search --output=files to match new
\r
75 behavior for multiple files corresponding to a single message
\r
77 Signed-off-by: Mark Anderson <ma.skies@gmail.com>
\r
80 I just picked the smallest message and copied it to a new name. This
\r
81 could certainly be done to a much larger degree.
\r
83 test/corpus/cur/51:2, | 12 ++++++++++++
\r
84 test/search-output | 2 ++
\r
85 2 files changed, 14 insertions(+), 0 deletions(-)
\r
86 create mode 100644 test/corpus/cur/51:2,
\r
88 diff --git a/test/corpus/cur/51:2, b/test/corpus/cur/51:2,
\r
89 new file mode 100644
\r
90 index 0000000..f522f69
\r
92 +++ b/test/corpus/cur/51:2,
\r
94 +From: "Aron Griffis" <agriffis@n01se.net>
\r
95 +To: notmuch@notmuchmail.org
\r
96 +Date: Tue, 17 Nov 2009 18:21:38 -0500
\r
97 +Subject: [notmuch] archive
\r
98 +Message-ID: <20091117232137.GA7669@griffis1.net>
\r
100 +Just subscribed, I'd like to catch up on the previous postings,
\r
101 +but the archive link seems to be bogus?
\r
106 diff --git a/test/search-output b/test/search-output
\r
107 index 3c875cd..10291c3 100755
\r
108 --- a/test/search-output
\r
109 +++ b/test/search-output
\r
110 @@ -207,6 +207,7 @@ MAIL_DIR/cur/22:2,
\r
114 +MAIL_DIR/cur/51:2,
\r
118 @@ -263,6 +264,7 @@ cat <<EOF >EXPECTED
\r
119 "MAIL_DIR/cur/21:2,",
\r
120 "MAIL_DIR/cur/19:2,",
\r
121 "MAIL_DIR/cur/18:2,",
\r
122 +"MAIL_DIR/cur/51:2,",
\r
123 "MAIL_DIR/cur/20:2,",
\r
124 "MAIL_DIR/cur/17:2,",
\r
125 "MAIL_DIR/cur/16:2,",
\r