Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / 79 / 5c0696d860e15cb33b75159401461a7c5dd034
1 Return-Path: <amthrax@drake.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 97808431FD0\r
6         for <notmuch@notmuchmail.org>; Wed, 28 Dec 2011 18:34:51 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \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 LOD8hir5o0iH for <notmuch@notmuchmail.org>;\r
16         Wed, 28 Dec 2011 18:34:49 -0800 (PST)\r
17 Received: from dmz-mailsec-scanner-3.mit.edu (DMZ-MAILSEC-SCANNER-3.MIT.EDU\r
18         [18.9.25.14])\r
19         by olra.theworths.org (Postfix) with ESMTP id 473C4431FB6\r
20         for <notmuch@notmuchmail.org>; Wed, 28 Dec 2011 18:34:49 -0800 (PST)\r
21 X-AuditID: 1209190e-b7f7c6d0000008c3-a5-4efbd1c82d09\r
22 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39])\r
23         by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id 1A.F6.02243.8C1DBFE4; Wed, 28 Dec 2011 21:34:48 -0500 (EST)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id pBT2YmtQ012363; \r
27         Wed, 28 Dec 2011 21:34:48 -0500\r
28 Received: from drake.mit.edu (c-76-21-105-205.hsd1.ca.comcast.net\r
29         [76.21.105.205]) (authenticated bits=0)\r
30         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
31         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id pBT2Yk8x025962\r
32         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
33         Wed, 28 Dec 2011 21:34:48 -0500 (EST)\r
34 Received: from amthrax by drake.mit.edu with local (Exim 4.77)\r
35         (envelope-from <amthrax@drake.mit.edu>)\r
36         id 1Rg5pN-0003bB-SI; Wed, 28 Dec 2011 21:34:45 -0500\r
37 From: Austin Clements <amdragon@MIT.EDU>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH] test: Make generated message date a real date\r
40 Date: Wed, 28 Dec 2011 21:34:43 -0500\r
41 Message-Id: <1325126083-13792-1-git-send-email-amdragon@mit.edu>\r
42 X-Mailer: git-send-email 1.7.7.3\r
43 X-Brightmail-Tracker:\r
44  H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsUixG6nrnvi4m8/gw8v9S2u35zJ7MDo8WzV\r
45         LeYAxigum5TUnMyy1CJ9uwSujIv7l7IUbFSsmLFgE3MD4wzpLkZODgkBE4m+710sELaYxIV7\r
46         69m6GLk4hAT2MUrcW7iIEcLZwCix/d9/RpAqIYFzTBKnnihBJOYzSqxa9IIJJMEmoCGxbf9y\r
47         sCIRAWmJnXdns3YxcnAwC6hJ/OlSAQkLC9hJrHo8kQ3EZhFQlfjQeJYVxOYVcJD4veUf1BUK\r
48         EudWn2OfwMi7gJFhFaNsSm6Vbm5iZk5xarJucXJiXl5qka6xXm5miV5qSukmRlAQcEry7WD8\r
49         elDpEKMAB6MSD6+n4W8/IdbEsuLK3EOMkhxMSqK8POeBQnxJ+SmVGYnFGfFFpTmpxYcYJTiY\r
50         lUR4a3cD5XhTEiurUovyYVLSHCxK4rxqWu/8hATSE0tSs1NTC1KLYLIyHBxKErxMwGAXEixK\r
51         TU+tSMvMKUFIM3FwggznARouBVLDW1yQmFucmQ6RP8WoKCXOawmSEABJZJTmwfXCovQVozjQ\r
52         K8K80iBVPMAIh+t+BTSYCWjwuXO/QAaXJCKkpBoY16YkLjpqmnGQ+UG51u3e4hdm/93N2PXO\r
53         GJ93vrn22vpi8bUPOcpTW9+u47Vl9+h2TPGoiaswst20TdHnbOvbKgv++Ot6Ls2O09/dkFHu\r
54         n68TdEY212K/p7/tdP85yjz6YkdNXA5cFWadY/83sOa95bHfR+Lm1F1et3rBvziOgJfZju/v\r
55         RHErsRRnJBpqMRcVJwIA0f+J760CAAA=\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\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: Thu, 29 Dec 2011 02:34:52 -0000\r
69 \r
70 January 5, 2001 was a Tuesday, not a Friday.  Jameson fixed this exact\r
71 problem for the multipart test in ec2b0a98cc, but not for\r
72 generate_message itself.\r
73 \r
74 As Jameson pointed out in ec2b0a98cc, if we want to test date parsing,\r
75 we should do it separately.\r
76 ---\r
77  test/emacs        |    8 ++++----\r
78  test/encoding     |    2 +-\r
79  test/maildir-sync |    4 ++--\r
80  test/raw          |    4 ++--\r
81  test/test-lib.sh  |    2 +-\r
82  5 files changed, 10 insertions(+), 10 deletions(-)\r
83 \r
84 diff --git a/test/emacs b/test/emacs\r
85 index ca82445..a06c223 100755\r
86 --- a/test/emacs\r
87 +++ b/test/emacs\r
88 @@ -81,7 +81,7 @@ cat <<EOF >EXPECTED\r
89  "Invalid " From" <test_suite@notmuchmail.org> (2001-01-05) (inbox)\r
90  Subject: message-with-invalid-from\r
91  To: Notmuch Test Suite <test_suite@notmuchmail.org>\r
92 -Date: Tue, 05 Jan 2001 15:43:57 -0000\r
93 +Date: Fri, 05 Jan 2001 15:43:57 +0000\r
94  \r
95  This is just a test message (#1)\r
96  EOF\r
97 @@ -320,7 +320,7 @@ add_message '[from]="Top Poster <top@poster.com>"' \\r
98  ----- Original Message -----\r
99  From: Notmuch Test Suite <test_suite@notmuchmail.org>\r
100  To: Notmuch Test Suite <test_suite@notmuchmai.org>\r
101 -Sent: Tue, 05 Jan 2001 15:43:57 -0000\r
102 +Sent: Fri, 05 Jan 2001 15:43:57 +0000\r
103  Subject: The problem with top-posting\r
104  \r
105  Q: Why is top-posting such a bad thing?\r
106 @@ -331,7 +331,7 @@ test_emacs "(notmuch-show \"top-posting\")\r
107  echo "Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (inbox)\r
108  Subject: The problem with top-posting\r
109  To: Notmuch Test Suite <test_suite@notmuchmail.org>\r
110 -Date: Tue, 05 Jan 2001 15:43:57 -0000\r
111 +Date: Fri, 05 Jan 2001 15:43:57 +0000\r
112  \r
113  A: Because it messes up the order in which people normally read text.\r
114  Q: Why is top-posting such a bad thing?\r
115 @@ -340,7 +340,7 @@ Q: What is the most annoying thing in e-mail?\r
116  Top Poster <top@poster.com> (2001-01-05) (inbox unread)\r
117  Subject: Re: The problem with top-posting\r
118  To: Notmuch Test Suite <test_suite@notmuchmail.org>\r
119 -Date: Tue, 05 Jan 2001 15:43:57 -0000\r
120 +Date: Fri, 05 Jan 2001 15:43:57 +0000\r
121  \r
122  Thanks for the advice! I will be sure to put it to good use.\r
123  \r
124 diff --git a/test/encoding b/test/encoding\r
125 index 673b039..e875c8b 100755\r
126 --- a/test/encoding\r
127 +++ b/test/encoding\r
128 @@ -12,7 +12,7 @@ Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (inbox unread)\r
129  Subject: Test message #1\r
130  From: Notmuch Test Suite <test_suite@notmuchmail.org>\r
131  To: Notmuch Test Suite <test_suite@notmuchmail.org>\r
132 -Date: Tue, 05 Jan 2001 15:43:57 -0000\r
133 +Date: Fri, 05 Jan 2001 15:43:57 +0000\r
134  \f\r
135 header}\r
136  \f\r
137 body{\r
138  \f\r
139 part{ ID: 1, Content-type: text/plain\r
140 diff --git a/test/maildir-sync b/test/maildir-sync\r
141 index a60854f..d5872a5 100755\r
142 --- a/test/maildir-sync\r
143 +++ b/test/maildir-sync\r
144 @@ -55,8 +55,8 @@ test_expect_equal "$output" '[[[{"id": "adding-replied-tag@notmuch-test-suite",\r
145  "To": "Notmuch Test Suite <test_suite@notmuchmail.org>",\r
146  "Cc": "",\r
147  "Bcc": "",\r
148 -"Date": "Tue,\r
149 -05 Jan 2001 15:43:57 -0000"},\r
150 +"Date": "Fri,\r
151 +05 Jan 2001 15:43:57 +0000"},\r
152  "body": [{"id": 1,\r
153  "content-type": "text/plain",\r
154  "content": "This is just a test message (#3)\n"}]},\r
155 diff --git a/test/raw b/test/raw\r
156 index 99d3a3b..0171e64 100755\r
157 --- a/test/raw\r
158 +++ b/test/raw\r
159 @@ -19,7 +19,7 @@ test_expect_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.or\r
160  To: Notmuch Test Suite <test_suite@notmuchmail.org>\r
161  Message-Id: <msg-001@notmuch-test-suite>\r
162  Subject: Test message #1\r
163 -Date: Tue, 05 Jan 2001 15:43:57 -0000\r
164 +Date: Fri, 05 Jan 2001 15:43:57 +0000\r
165  \r
166  This is just a test message (#1)"\r
167  \r
168 @@ -29,7 +29,7 @@ test_expect_equal "$output" "From: Notmuch Test Suite <test_suite@notmuchmail.or\r
169  To: Notmuch Test Suite <test_suite@notmuchmail.org>\r
170  Message-Id: <msg-002@notmuch-test-suite>\r
171  Subject: Test message #2\r
172 -Date: Tue, 05 Jan 2001 15:43:57 -0000\r
173 +Date: Fri, 05 Jan 2001 15:43:57 +0000\r
174  \r
175  This is just a test message (#2)"\r
176  \r
177 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
178 index 8edf256..862095c 100644\r
179 --- a/test/test-lib.sh\r
180 +++ b/test/test-lib.sh\r
181 @@ -323,7 +323,7 @@ generate_message ()\r
182      fi\r
183  \r
184      if [ -z "${template[date]}" ]; then\r
185 -       template[date]="Tue, 05 Jan 2001 15:43:57 -0000"\r
186 +       template[date]="Fri, 05 Jan 2001 15:43:57 +0000"\r
187      fi\r
188  \r
189      additional_headers=""\r
190 -- \r
191 1.7.7.3\r
192 \r