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 arlo.cworth.org (Postfix) with ESMTP id 5B2316DE1472
\r
6 for <notmuch@notmuchmail.org>; Fri, 4 Sep 2015 11:35:26 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.48 tagged_above=-999 required=5 tests=[AWL=0.240,
\r
12 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,
\r
13 RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id xQImKBFdZujk for <notmuch@notmuchmail.org>;
\r
17 Fri, 4 Sep 2015 11:35:23 -0700 (PDT)
\r
18 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com
\r
20 by arlo.cworth.org (Postfix) with ESMTPS id 5F7A16DE0A9A
\r
21 for <notmuch@notmuchmail.org>; Fri, 4 Sep 2015 11:35:23 -0700 (PDT)
\r
22 Received: by wicge5 with SMTP id ge5so26010336wic.0
\r
23 for <notmuch@notmuchmail.org>; Fri, 04 Sep 2015 11:35:21 -0700 (PDT)
\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:date:message-id:in-reply-to
\r
27 :references:mime-version:content-type:content-transfer-encoding;
\r
28 bh=BuBbwHp0CA7c/OWkT2Sm/4vUgalQUBUcEpJBMakHPG8=;
\r
29 b=Ah6PPUUgCObc2ztXJpYw6OpzsOS//Ijmj8Vb7Z4tzHpxXLWkyDCGERzV9GC7lFC+TK
\r
30 VGHraXxPurER1vdJvjv/yshhTrO11sEaavDXsNK/dSQCvuCPx1aX9Isv4qE5Z24568IY
\r
31 D/86wbxwCBgKlJSXVpyosB1pf2/UGWF+0lKCEoInS73PeW92b5zw+0Q1qQYNuD3U397J
\r
32 MbNwkKi8zTO8sAmGZXRgBAucwx6d7xQ/LrSCp45AOiY31NYx3kbM7MA2FJ2x51Z6XUJ1
\r
33 Gw2Zi9u9YNEGzsLqSg/DIrQIIP5WamVzeYfEYB0h7jnBOCiJZbL425ZXyF1awPjZ2gb9
\r
36 ALoCoQn//wJN0coA1qywyrrkff9bftbt6SDn9iKBxI8n1R6RTRd2cCq262hmlTnhME1oIGrWcYgp
\r
37 X-Received: by 10.180.104.8 with SMTP id ga8mr9496668wib.86.1441391721210;
\r
38 Fri, 04 Sep 2015 11:35:21 -0700 (PDT)
\r
39 Received: from localhost (mobile-access-bcee4f-131.dhcp.inet.fi.
\r
41 by smtp.gmail.com with ESMTPSA id p3sm5622024wib.16.2015.09.04.11.35.19
\r
42 (version=TLSv1/SSLv3 cipher=OTHER);
\r
43 Fri, 04 Sep 2015 11:35:20 -0700 (PDT)
\r
44 From: Jani Nikula <jani@nikula.org>
\r
45 To: Jani Nikula <jani@nikula.org>,
\r
46 notmuch@notmuchmail.org
\r
47 Subject: =?utf-8?q?=5BPATCH_3=C2=BD/9=5D_test=3A_notmuch_address_--deduplicate=3Dno_tests?=
\r
48 Date: Fri, 4 Sep 2015 21:35:16 +0300
\r
49 Message-Id: <1441391716-17282-1-git-send-email-jani@nikula.org>
\r
50 X-Mailer: git-send-email 2.1.4
\r
52 <fd59eadee26a770097517bee038e2b126e11aa90.1441308761.git.jani@nikula.org>
\r
54 <fd59eadee26a770097517bee038e2b126e11aa90.1441308761.git.jani@nikula.org>
\r
56 Content-Type: text/plain; charset=UTF-8
\r
57 Content-Transfer-Encoding: 8bit
\r
58 X-BeenThere: notmuch@notmuchmail.org
\r
59 X-Mailman-Version: 2.1.18
\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: Fri, 04 Sep 2015 18:35:26 -0000
\r
72 Test not using address deduplication. Incorporate some trivial output
\r
73 sorting tests here, as they seem to lack tests.
\r
75 test/T095-address.sh | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++
\r
76 1 file changed, 70 insertions(+)
\r
78 diff --git a/test/T095-address.sh b/test/T095-address.sh
\r
79 index 8eecb2a6a7ba..f8d902cb3a5e 100755
\r
80 --- a/test/T095-address.sh
\r
81 +++ b/test/T095-address.sh
\r
82 @@ -145,4 +145,74 @@ cat <<EOF >EXPECTED
\r
84 test_expect_equal_file OUTPUT EXPECTED
\r
86 +test_begin_subtest "--deduplicate=no --sort=oldest-first --output=sender"
\r
87 +notmuch address --deduplicate=no --sort=oldest-first --output=sender '*' >OUTPUT
\r
88 +cat <<EOF >EXPECTED
\r
89 +Mikhail Gusarov <dottedmag@dottedmag.net>
\r
90 +Mikhail Gusarov <dottedmag@dottedmag.net>
\r
91 +Carl Worth <cworth@cworth.org>
\r
92 +Lars Kellogg-Stedman <lars@seas.harvard.edu>
\r
93 +Mikhail Gusarov <dottedmag@dottedmag.net>
\r
94 +Alex Botero-Lowry <alex.boterolowry@gmail.com>
\r
95 +Carl Worth <cworth@cworth.org>
\r
96 +Lars Kellogg-Stedman <lars@seas.harvard.edu>
\r
97 +Mikhail Gusarov <dottedmag@dottedmag.net>
\r
98 +Mikhail Gusarov <dottedmag@dottedmag.net>
\r
99 +Keith Packard <keithp@keithp.com>
\r
100 +Keith Packard <keithp@keithp.com>
\r
101 +Keith Packard <keithp@keithp.com>
\r
102 +Jan Janak <jan@ryngle.com>
\r
103 +Jan Janak <jan@ryngle.com>
\r
104 +Jan Janak <jan@ryngle.com>
\r
105 +Israel Herraiz <isra@herraiz.org>
\r
106 +Adrian Perez de Castro <aperez@igalia.com>
\r
107 +Aron Griffis <agriffis@n01se.net>
\r
108 +Ingmar Vanhassel <ingmar@exherbo.org>
\r
109 +Alex Botero-Lowry <alex.boterolowry@gmail.com>
\r
110 +Lars Kellogg-Stedman <lars@seas.harvard.edu>
\r
111 +Lars Kellogg-Stedman <lars@seas.harvard.edu>
\r
112 +Lars Kellogg-Stedman <lars@seas.harvard.edu>
\r
113 +Stewart Smith <stewart@flamingspork.com>
\r
114 +Stewart Smith <stewart@flamingspork.com>
\r
115 +Keith Packard <keithp@keithp.com>
\r
116 +Keith Packard <keithp@keithp.com>
\r
117 +Keith Packard <keithp@keithp.com>
\r
118 +Stewart Smith <stewart@flamingspork.com>
\r
119 +Jjgod Jiang <gzjjgod@gmail.com>
\r
120 +Jan Janak <jan@ryngle.com>
\r
121 +Rolland Santimano <rollandsantimano@yahoo.com>
\r
122 +Alexander Botero-Lowry <alex.boterolowry@gmail.com>
\r
123 +Jjgod Jiang <gzjjgod@gmail.com>
\r
124 +Alexander Botero-Lowry <alex.boterolowry@gmail.com>
\r
125 +Alexander Botero-Lowry <alex.boterolowry@gmail.com>
\r
126 +Keith Packard <keithp@keithp.com>
\r
127 +Alexander Botero-Lowry <alex.boterolowry@gmail.com>
\r
128 +Carl Worth <cworth@cworth.org>
\r
129 +Carl Worth <cworth@cworth.org>
\r
130 +Carl Worth <cworth@cworth.org>
\r
131 +Carl Worth <cworth@cworth.org>
\r
132 +Carl Worth <cworth@cworth.org>
\r
133 +Carl Worth <cworth@cworth.org>
\r
134 +Carl Worth <cworth@cworth.org>
\r
135 +Carl Worth <cworth@cworth.org>
\r
136 +Carl Worth <cworth@cworth.org>
\r
137 +Carl Worth <cworth@cworth.org>
\r
138 +Chris Wilson <chris@chris-wilson.co.uk>
\r
139 +Olivier Berger <olivier.berger@it-sudparis.eu>
\r
140 +François Boulogne <boulogne.f@gmail.com>
\r
142 +test_expect_equal_file OUTPUT EXPECTED
\r
144 +test_begin_subtest "--deduplicate=no --sort=newest-first --output=sender --output=recipients"
\r
145 +notmuch address --deduplicate=no --sort=newest-first --output=sender --output=recipients path:foo/new >OUTPUT
\r
146 +cat <<EOF >EXPECTED
\r
147 +Mikhail Gusarov <dottedmag@dottedmag.net>
\r
148 +notmuch@notmuchmail.org
\r
149 +Mikhail Gusarov <dottedmag@dottedmag.net>
\r
150 +notmuch@notmuchmail.org
\r
151 +Lars Kellogg-Stedman <lars@seas.harvard.edu>
\r
152 +notmuch@notmuchmail.org
\r
154 +test_expect_equal_file OUTPUT EXPECTED
\r