1 Return-Path: <amdragon@mit.edu>
\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 A91D2431FD0
\r
6 for <notmuch@notmuchmail.org>; Sun, 8 Dec 2013 16:28:23 -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 SrB2CpK6S1VC for <notmuch@notmuchmail.org>;
\r
16 Sun, 8 Dec 2013 16:28:17 -0800 (PST)
\r
17 Received: from dmz-mailsec-scanner-8.mit.edu (dmz-mailsec-scanner-8.mit.edu
\r
19 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id AFF8B431FCB
\r
22 for <notmuch@notmuchmail.org>; Sun, 8 Dec 2013 16:28:17 -0800 (PST)
\r
23 X-AuditID: 12074425-b7fd96d000000c39-78-52a50e9f4dfd
\r
24 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])
\r
25 (using TLS with cipher AES256-SHA (256/256 bits))
\r
26 (Client did not present a certificate)
\r
27 by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP
\r
28 id F4.45.03129.F9E05A25; Sun, 8 Dec 2013 19:28:15 -0500 (EST)
\r
29 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])
\r
30 by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id rB90SFgk009609;
\r
31 Sun, 8 Dec 2013 19:28:15 -0500
\r
32 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])
\r
33 (authenticated bits=0)
\r
34 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
35 by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id rB90SDhv006592
\r
36 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
\r
37 Sun, 8 Dec 2013 19:28:14 -0500
\r
38 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80)
\r
39 (envelope-from <amdragon@mit.edu>)
\r
40 id 1Vpohp-0006OQ-Kn; Sun, 08 Dec 2013 19:28:13 -0500
\r
41 Date: Sun, 8 Dec 2013 19:28:13 -0500
\r
42 From: Austin Clements <amdragon@MIT.EDU>
\r
43 To: David Bremner <david@tethera.net>
\r
44 Subject: Re: [PATCH 4/4] test: give unique timestamps to messages
\r
45 Message-ID: <20131209002753.GI8854@mit.edu>
\r
46 References: <1386517946-22054-1-git-send-email-david@tethera.net>
\r
47 <1386517946-22054-5-git-send-email-david@tethera.net>
\r
49 Content-Type: text/plain; charset=us-ascii
\r
50 Content-Disposition: inline
\r
51 In-Reply-To: <1386517946-22054-5-git-send-email-david@tethera.net>
\r
52 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
53 X-Brightmail-Tracker:
\r
54 H4sIAAAAAAAAA+NgFmpmleLIzCtJLcpLzFFi42IRYrdT0Z3PtzTI4OIPc4sbrd2MFtdvzmR2
\r
55 YPJ4tuoWs8eWQ++ZA5iiuGxSUnMyy1KL9O0SuDI+LPnHXPBHtKL/VT97A2OHUBcjJ4eEgInE
\r
56 /TPTmSFsMYkL99azdTFycQgJzGaSaL1xGCwhJLCBUeJJUzRE4hSTRNu+gywQzhJGifen7rKC
\r
57 VLEIqEjc/TIVrINNQENi2/7ljCC2iICqxNVtk9lAbGYBaYlvv5uZQGxhAUeJZwvOg9XzCmhL
\r
58 TLt7nB1iW6XE/X1nWSDighInZz5hgejVkrjx7yVQLwfYnOX/OEDCnAJOEgd3zwFbJQp0wpST
\r
59 29gmMArNQtI9C0n3LITuBYzMqxhlU3KrdHMTM3OKU5N1i5MT8/JSi3Qt9HIzS/RSU0o3MYLD
\r
60 2kV1B+OEQ0qHGAU4GJV4eFewLg0SYk0sK67MPcQoycGkJMo7mRsoxJeUn1KZkVicEV9UmpNa
\r
61 fIhRgoNZSYRX6cSSICHelMTKqtSifJiUNAeLkjjvLQ77ICGB9MSS1OzU1ILUIpisDAeHkgTv
\r
62 bl6goYJFqempFWmZOSUIaSYOTpDhPEDDl4HU8BYXJOYWZ6ZD5E8xKkqJ864BSQiAJDJK8+B6
\r
63 YWnnFaM40CvCvMtBqniAKQuu+xXQYCagwZOuLgIZXJKIkJJqYFQ7Nldkj1DOrJ3hU5tnsDo9
\r
64 fLOR3d1osucL3cm/meOeqK13esLU6iXmpcmm3uL48UzO6Wezbpks/lEkdW9iaCCrUevqrv+T
\r
65 Cv2CW39OTdKfWXz67qR/avuvNmpyCIf9XMmgt1Ao5danaeuCopSu7FsmxPb93XxtY8UZbQp2
\r
66 GQ5zFvXy8DNqBCmxFGckGmoxFxUnAgCs+ZHtFgMAAA==
\r
67 Cc: notmuch@notmuchmail.org
\r
68 X-BeenThere: notmuch@notmuchmail.org
\r
69 X-Mailman-Version: 2.1.13
\r
71 List-Id: "Use and development of the notmuch mail system."
\r
72 <notmuch.notmuchmail.org>
\r
73 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
74 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
75 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
76 List-Post: <mailto:notmuch@notmuchmail.org>
\r
77 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
78 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
79 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
80 X-List-Received-Date: Mon, 09 Dec 2013 00:28:23 -0000
\r
82 Quoth David Bremner on Dec 08 at 11:52 pm:
\r
83 > The choice of decreasing timestamps is a hack which reduces the number
\r
84 > of existing tests which fail. This can be changed to increasing
\r
85 > if/when somebody wants update another 47 tests.
\r
87 > test/excludes | 4 ++--
\r
88 > test/test-lib.sh | 2 +-
\r
89 > 2 files changed, 3 insertions(+), 3 deletions(-)
\r
91 > diff --git a/test/excludes b/test/excludes
\r
92 > index f1ae9ea..8bbbc2d 100755
\r
93 > --- a/test/excludes
\r
94 > +++ b/test/excludes
\r
95 > @@ -67,7 +67,7 @@ thread:XXX 2001-01-05 [1/2] Notmuch Test Suite; Not deleted reply (deleted inb
\r
96 > test_begin_subtest "Search, don't exclude \"deleted\" messages when --exclude=flag specified"
\r
97 > output=$(notmuch search --exclude=flag subject:deleted | notmuch_search_sanitize)
\r
98 > test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Not deleted (inbox unread)
\r
99 > -thread:XXX 2001-01-05 [1/2] Notmuch Test Suite; Not deleted reply (deleted inbox unread)"
\r
100 > +thread:XXX 2001-01-05 [1/2] Notmuch Test Suite; Deleted (deleted inbox unread)"
\r
102 > test_begin_subtest "Search, don't exclude \"deleted\" messages from search if not configured"
\r
103 > notmuch config set search.exclude_tags
\r
104 > @@ -152,7 +152,7 @@ ${matching_message_ids[5]}"
\r
105 > test_begin_subtest "Search, exclude=flag (thread summary)"
\r
106 > output=$(notmuch search --exclude=flag tag:test | notmuch_search_sanitize)
\r
107 > test_expect_equal "$output" "thread:XXX 2001-01-05 [0/6] Notmuch Test Suite; All messages excluded: single match: reply 2 (deleted inbox test unread)
\r
108 > -thread:XXX 2001-01-05 [0/6] Notmuch Test Suite; All messages excluded: double match: reply 4 (deleted inbox test unread)
\r
109 > +thread:XXX 2001-01-05 [0/6] Notmuch Test Suite; All messages excluded: double match: reply 2 (deleted inbox test unread)
\r
110 > thread:XXX 2001-01-05 [0/6] Notmuch Test Suite; Some messages excluded: single excluded match: reply 3 (deleted inbox test unread)
\r
111 > thread:XXX 2001-01-05 [1/6] Notmuch Test Suite; Some messages excluded: single non-excluded match: reply 4 (deleted inbox test unread)
\r
112 > thread:XXX 2001-01-05 [1/6] Notmuch Test Suite; No messages excluded: single match: reply 3 (inbox test unread)"
\r
113 > diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
114 > index d238c66..792e477 100644
\r
115 > --- a/test/test-lib.sh
\r
116 > +++ b/test/test-lib.sh
\r
117 > @@ -356,7 +356,7 @@ generate_message ()
\r
120 > if [ -z "${template[date]}" ]; then
\r
121 > - template[date]="Fri, 05 Jan 2001 15:43:57 +0000"
\r
122 > + template[date]=$(date -Ru -d@$((978709437 - gen_msg_cnt)))
\r
124 It would be worth adding a comment here to explain that the decreasing
\r
125 timestamp is a historical artifact, to save people the trouble of
\r
126 digging back in the log to figure out why it goes down.
\r
130 > additional_headers=""
\r