1 Return-Path: <jani@nikula.org>
\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 1D215431FBF
\r
6 for <notmuch@notmuchmail.org>; Sat, 22 Nov 2014 03:31:13 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id BlX87GIVQd8Y for <notmuch@notmuchmail.org>;
\r
16 Sat, 22 Nov 2014 03:31:09 -0800 (PST)
\r
17 Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com
\r
18 [209.85.212.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 8F338431FBC
\r
21 for <notmuch@notmuchmail.org>; Sat, 22 Nov 2014 03:31:09 -0800 (PST)
\r
22 Received: by mail-wi0-f176.google.com with SMTP id ex7so1585320wid.9
\r
23 for <notmuch@notmuchmail.org>; Sat, 22 Nov 2014 03:31:08 -0800 (PST)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:from:to:subject:in-reply-to:references
\r
27 :user-agent:date:message-id:mime-version:content-type;
\r
28 bh=i+lBpNygSjsO4VCBmuo/aSYo0tt2gmCP3SHsrLMaLD8=;
\r
29 b=kx1hZnupSQ0IXsMcWndSdMrjiODtpaeeEVBrELEN+fwQA/5Mqaju26CzUcHPgn0wGk
\r
30 7qPeqITbdTrym3B/DZyJu5lsSCBFhJalLC+DV5FtJE2511DfKGS12kE3uPNrn5XQ21BH
\r
31 FhNhRQeRWdQG4wru6juKtdAqtB+cQ7BvuqB5cRb4QTgYZaeelPukAbJBj+qSZj9eaUCQ
\r
32 9lWsVxPH2PnhO4jdt4lon0jJitub1GrTFR3VWcHyXCqnJCawF/TiUSTzCfuVVwdRM2+4
\r
33 rqHh+8cxwawuQiHSIdw+Yt5DiM3eR0Uyq/O2vDVSDFlxxNtyZqt20GLC1An+K3ac58uO
\r
36 ALoCoQnm8B5RoSGjBvtUHVYQOgwW5BAAneN7cLX1fmBJwkv5VoOpbjDSqrbZ7A6ShzZuvV2TqV1i
\r
37 X-Received: by 10.194.6.227 with SMTP id e3mr16453776wja.107.1416655868455;
\r
38 Sat, 22 Nov 2014 03:31:08 -0800 (PST)
\r
39 Received: from localhost (dsl-hkibrasgw2-58c362-144.dhcp.inet.fi.
\r
40 [88.195.98.144]) by mx.google.com with ESMTPSA id
\r
41 kn5sm11826804wjb.48.2014.11.22.03.31.07 for <multiple recipients>
\r
42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
43 Sat, 22 Nov 2014 03:31:07 -0800 (PST)
\r
44 From: Jani Nikula <jani@nikula.org>
\r
45 To: Jesse Rosenthal <jrosenthal@jhu.edu>, notmuch@notmuchmail.org
\r
46 Subject: Re: [PATCH v2 2/2] test: Add test for correct naming of author.
\r
47 In-Reply-To: <1416585462-24558-3-git-send-email-jrosenthal@jhu.edu>
\r
48 References: <1416585462-24558-1-git-send-email-jrosenthal@jhu.edu>
\r
49 <1416585462-24558-3-git-send-email-jrosenthal@jhu.edu>
\r
50 User-Agent: Notmuch/0.19+1~gcffa3cf (http://notmuchmail.org) Emacs/24.4.1
\r
51 (x86_64-pc-linux-gnu)
\r
52 Date: Sat, 22 Nov 2014 13:31:04 +0200
\r
53 Message-ID: <87mw7jqxon.fsf@nikula.org>
\r
55 Content-Type: text/plain
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\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: Sat, 22 Nov 2014 11:31:13 -0000
\r
70 On Fri, 21 Nov 2014, Jesse Rosenthal <jrosenthal@jhu.edu> wrote:
\r
71 > This is a new test file, since handling of unusual email addresses
\r
72 > doesn't seem to fit well in any of our existing tests.
\r
74 It would be nice to have this as patch 1/2 annotated with "known broken"
\r
75 and have the implementation patch fix it. It's nice to see that the
\r
76 patch actually changes things! ;)
\r
82 > Signed-off-by: Jesse Rosenthal <jrosenthal@jhu.edu>
\r
84 > test/T205-author-naming.sh | 12 ++++++++++++
\r
85 > 1 file changed, 12 insertions(+)
\r
86 > create mode 100755 test/T205-author-naming.sh
\r
88 > diff --git a/test/T205-author-naming.sh b/test/T205-author-naming.sh
\r
89 > new file mode 100755
\r
90 > index 0000000..cb678ae
\r
92 > +++ b/test/T205-author-naming.sh
\r
94 > +#!/usr/bin/env bash
\r
95 > +test_description="naming of authors with unusual addresses"
\r
98 > +test_begin_subtest "Add author with empty quoted real name"
\r
99 > +add_message '[subject]="author-naming: Initial thread subject"' \
\r
100 > + '[date]="Fri, 05 Jan 2001 15:43:56 -0000"' \
\r
101 > + '[from]="\"\" <address@example.com>"'
\r
102 > +output=$(notmuch search --sort=oldest-first author-naming and tag:inbox | notmuch_search_sanitize)
\r
103 > +test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] address@example.com; author-naming: Initial thread subject (inbox unread)"
\r
109 > _______________________________________________
\r
110 > notmuch mailing list
\r
111 > notmuch@notmuchmail.org
\r
112 > http://notmuchmail.org/mailman/listinfo/notmuch
\r