Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / c2 / 63487c6414dadf30c07eb7afd74549fa02b77c
1 Return-Path: <markwalters1009@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 586E1431FD4\r
6         for <notmuch@notmuchmail.org>; Thu,  2 Feb 2012 09:43:40 -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.202\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.202 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id EyOgFe0J6gcJ for <notmuch@notmuchmail.org>;\r
18         Thu,  2 Feb 2012 09:43:35 -0800 (PST)\r
19 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
20  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
21  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
22  1E466429E35    for <notmuch@notmuchmail.org>; Thu,  2 Feb 2012 09:43:15 -0800\r
23  (PST)\r
24 Received: by mail-ww0-f45.google.com with SMTP id dt12so2522817wgb.2\r
25         for <notmuch@notmuchmail.org>; Thu, 02 Feb 2012 09:43:15 -0800 (PST)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
27         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
28         :mime-version:content-type:content-transfer-encoding;\r
29         bh=bkL8MIQZ06t7Wgp26SM6ckL0PagpPg1/9uFz+vSNAY0=;\r
30         b=ew7jNecmLSXWBdALn71G5u8Yy8rEPaUSDSPCaD9m6tbCqdNLgMN0Pkz3JghYhc1oCv\r
31         yd7RudmObWXzJM6+setBZ2FwHW7S9L1nH+2QKSOjPZc/e6KbmOlBkInvnN2pIGTxJusY\r
32         jB56JaB1Me+/a8s3B8gYsMg6l7cbaGD8Db+Jc=\r
33 Received: by 10.180.81.66 with SMTP id y2mr6100750wix.20.1328204595767;\r
34         Thu, 02 Feb 2012 09:43:15 -0800 (PST)\r
35 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
36  [94.192.233.223])      by mx.google.com with ESMTPS id\r
37  y1sm9135628wiw.6.2012.02.02.09.43.14   (version=TLSv1/SSLv3 cipher=OTHER);     Thu,\r
38  02 Feb 2012 09:43:15 -0800 (PST)\r
39 From: Mark Walters <markwalters1009@gmail.com>\r
40 To: notmuch@notmuchmail.org,\r
41         amdragon@MIT.EDU\r
42 Subject: [PATCH v4 09/11] test: update tests to reflect the exclude flag\r
43 Date: Thu,  2 Feb 2012 17:43:37 +0000\r
44 Message-Id: <1328204619-25046-9-git-send-email-markwalters1009@gmail.com>\r
45 X-Mailer: git-send-email 1.7.2.3\r
46 In-Reply-To: <874nv9rv79.fsf@qmul.ac.uk>\r
47 References: <874nv9rv79.fsf@qmul.ac.uk>\r
48 MIME-Version: 1.0\r
49 Content-Type: text/plain; charset=UTF-8\r
50 Content-Transfer-Encoding: 8bit\r
51 X-BeenThere: notmuch@notmuchmail.org\r
52 X-Mailman-Version: 2.1.13\r
53 Precedence: list\r
54 List-Id: "Use and development of the notmuch mail system."\r
55         <notmuch.notmuchmail.org>\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
59 List-Post: <mailto:notmuch@notmuchmail.org>\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
63 X-List-Received-Date: Thu, 02 Feb 2012 17:43:40 -0000\r
64 \r
65 notmuch show outputs the exclude flag so many tests using notmuch\r
66 show failed. This commit adds "excluded:0" or "excluded: false" to\r
67 the expected outputs. After this commit there should be no failing\r
68 tests.\r
69 ---\r
70  test/crypto        |    9 ++++++++-\r
71  test/encoding      |    2 +-\r
72  test/json          |    6 +++---\r
73  test/maildir-sync  |    1 +\r
74  test/multipart     |    4 ++--\r
75  test/thread-naming |   16 ++++++++--------\r
76  6 files changed, 23 insertions(+), 15 deletions(-)\r
77 \r
78 diff --git a/test/crypto b/test/crypto\r
79 index 446a58b..f29d959 100755\r
80 --- a/test/crypto\r
81 +++ b/test/crypto\r
82 @@ -43,6 +43,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \\r
83      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
84  expected='[[[{"id": "XXXXX",\r
85   "match": true,\r
86 + "excluded": false,\r
87   "filename": "YYYYY",\r
88   "timestamp": 946728000,\r
89   "date_relative": "2000-01-01",\r
90 @@ -77,6 +78,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \\r
91      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
92  expected='[[[{"id": "XXXXX",\r
93   "match": true,\r
94 + "excluded": false,\r
95   "filename": "YYYYY",\r
96   "timestamp": 946728000,\r
97   "date_relative": "2000-01-01",\r
98 @@ -113,6 +115,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \\r
99      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
100  expected='[[[{"id": "XXXXX",\r
101   "match": true,\r
102 + "excluded": false,\r
103   "filename": "YYYYY",\r
104   "timestamp": 946728000,\r
105   "date_relative": "2000-01-01",\r
106 @@ -153,7 +156,7 @@ test_begin_subtest "decryption, --format=text"\r
107  output=$(notmuch show --format=text --decrypt subject:"test encrypted message 001" \\r
108      | notmuch_show_sanitize_all \\r
109      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
110 -expected='\f\r
111 message{ id:XXXXX depth:0 match:1 filename:XXXXX\r
112 +expected='\f\r
113 message{ id:XXXXX depth:0 match:1 excluded:0 filename:XXXXX\r
114  \f\r
115 header{\r
116  Notmuch Test Suite <test_suite@notmuchmail.org> (2000-01-01) (encrypted inbox)\r
117  Subject: test encrypted message 001\r
118 @@ -187,6 +190,7 @@ output=$(notmuch show --format=json --decrypt subject:"test encrypted message 00\r
119      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
120  expected='[[[{"id": "XXXXX",\r
121   "match": true,\r
122 + "excluded": false,\r
123   "filename": "YYYYY",\r
124   "timestamp": 946728000,\r
125   "date_relative": "2000-01-01",\r
126 @@ -242,6 +246,7 @@ output=$(notmuch show --format=json --decrypt subject:"test encrypted message 00\r
127      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
128  expected='[[[{"id": "XXXXX",\r
129   "match": true,\r
130 + "excluded": false,\r
131   "filename": "YYYYY",\r
132   "timestamp": 946728000,\r
133   "date_relative": "2000-01-01",\r
134 @@ -277,6 +282,7 @@ output=$(notmuch show --format=json --decrypt subject:"test encrypted message 00\r
135      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
136  expected='[[[{"id": "XXXXX",\r
137   "match": true,\r
138 + "excluded": false,\r
139   "filename": "YYYYY",\r
140   "timestamp": 946728000,\r
141   "date_relative": "2000-01-01",\r
142 @@ -332,6 +338,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \\r
143      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
144  expected='[[[{"id": "XXXXX",\r
145   "match": true,\r
146 + "excluded": false,\r
147   "filename": "YYYYY",\r
148   "timestamp": 946728000,\r
149   "date_relative": "2000-01-01",\r
150 diff --git a/test/encoding b/test/encoding\r
151 index 33259c1..a872345 100755\r
152 --- a/test/encoding\r
153 +++ b/test/encoding\r
154 @@ -6,7 +6,7 @@ test_begin_subtest "Message with text of unknown charset"\r
155  add_message '[content-type]="text/plain; charset=unknown-8bit"' \\r
156             "[body]=irrelevant"\r
157  output=$(notmuch show id:${gen_msg_id} 2>&1 | notmuch_show_sanitize)\r
158 -test_expect_equal "$output" "\f\r
159 message{ id:msg-001@notmuch-test-suite depth:0 match:1 filename:/XXX/mail/msg-001\r
160 +test_expect_equal "$output" "\f\r
161 message{ id:msg-001@notmuch-test-suite depth:0 match:1 excluded:0 filename:/XXX/mail/msg-001\r
162  \f\r
163 header{\r
164  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (inbox unread)\r
165  Subject: Test message #1\r
166 diff --git a/test/json b/test/json\r
167 index 7df4380..f95fcf8 100755\r
168 --- a/test/json\r
169 +++ b/test/json\r
170 @@ -5,7 +5,7 @@ test_description="--format=json output"\r
171  test_begin_subtest "Show message: json"\r
172  add_message "[subject]=\"json-show-subject\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"json-show-message\""\r
173  output=$(notmuch show --format=json "json-show-message")\r
174 -test_expect_equal "$output" "[[[{\"id\": \"${gen_msg_id}\", \"match\": true, \"filename\": \"${gen_msg_filename}\", \"timestamp\": 946728000, \"date_relative\": \"2000-01-01\", \"tags\": [\"inbox\",\"unread\"], \"headers\": {\"Subject\": \"json-show-subject\", \"From\": \"Notmuch Test Suite <test_suite@notmuchmail.org>\", \"To\": \"Notmuch Test Suite <test_suite@notmuchmail.org>\", \"Cc\": \"\", \"Bcc\": \"\", \"Date\": \"Sat, 01 Jan 2000 12:00:00 -0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"text/plain\", \"content\": \"json-show-message\n\"}]}, []]]]"\r
175 +test_expect_equal "$output" "[[[{\"id\": \"${gen_msg_id}\", \"match\": true, \"excluded\": false, \"filename\": \"${gen_msg_filename}\", \"timestamp\": 946728000, \"date_relative\": \"2000-01-01\", \"tags\": [\"inbox\",\"unread\"], \"headers\": {\"Subject\": \"json-show-subject\", \"From\": \"Notmuch Test Suite <test_suite@notmuchmail.org>\", \"To\": \"Notmuch Test Suite <test_suite@notmuchmail.org>\", \"Cc\": \"\", \"Bcc\": \"\", \"Date\": \"Sat, 01 Jan 2000 12:00:00 -0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"text/plain\", \"content\": \"json-show-message\n\"}]}, []]]]"\r
176  \r
177  test_begin_subtest "Search message: json"\r
178  add_message "[subject]=\"json-search-subject\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"json-search-message\""\r
179 @@ -22,7 +22,7 @@ test_expect_equal "$output" "[{\"thread\": \"XXX\",\r
180  test_begin_subtest "Show message: json, utf-8"\r
181  add_message "[subject]=\"json-show-utf8-body-sübjéct\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"jsön-show-méssage\""\r
182  output=$(notmuch show --format=json "jsön-show-méssage")\r
183 -test_expect_equal "$output" "[[[{\"id\": \"${gen_msg_id}\", \"match\": true, \"filename\": \"${gen_msg_filename}\", \"timestamp\": 946728000, \"date_relative\": \"2000-01-01\", \"tags\": [\"inbox\",\"unread\"], \"headers\": {\"Subject\": \"json-show-utf8-body-sübjéct\", \"From\": \"Notmuch Test Suite <test_suite@notmuchmail.org>\", \"To\": \"Notmuch Test Suite <test_suite@notmuchmail.org>\", \"Cc\": \"\", \"Bcc\": \"\", \"Date\": \"Sat, 01 Jan 2000 12:00:00 -0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"text/plain\", \"content\": \"jsön-show-méssage\n\"}]}, []]]]"\r
184 +test_expect_equal "$output" "[[[{\"id\": \"${gen_msg_id}\", \"match\": true, \"excluded\": false, \"filename\": \"${gen_msg_filename}\", \"timestamp\": 946728000, \"date_relative\": \"2000-01-01\", \"tags\": [\"inbox\",\"unread\"], \"headers\": {\"Subject\": \"json-show-utf8-body-sübjéct\", \"From\": \"Notmuch Test Suite <test_suite@notmuchmail.org>\", \"To\": \"Notmuch Test Suite <test_suite@notmuchmail.org>\", \"Cc\": \"\", \"Bcc\": \"\", \"Date\": \"Sat, 01 Jan 2000 12:00:00 -0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"text/plain\", \"content\": \"jsön-show-méssage\n\"}]}, []]]]"\r
185  \r
186  test_begin_subtest "Show message: json, inline attachment filename"\r
187  subject='json-show-inline-attachment-filename'\r
188 @@ -35,7 +35,7 @@ emacs_deliver_message \\r
189       (insert \"Message-ID: <$id>\n\")"\r
190  output=$(notmuch show --format=json "id:$id")\r
191  filename=$(notmuch search --output=files "id:$id")\r
192 -test_expect_equal "$output" "[[[{\"id\": \"$id\", \"match\": true, \"filename\": \"$filename\", \"timestamp\": 946728000, \"date_relative\": \"2000-01-01\", \"tags\": [\"inbox\"], \"headers\": {\"Subject\": \"$subject\", \"From\": \"Notmuch Test Suite <test_suite@notmuchmail.org>\", \"To\": \"test_suite@notmuchmail.org\", \"Cc\": \"\", \"Bcc\": \"\", \"Date\": \"01 Jan 2000 12:00:00 -0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"multipart/mixed\", \"content\": [{\"id\": 2, \"content-type\": \"text/plain\", \"content\": \"This is a test message with inline attachment with a filename\"}, {\"id\": 3, \"content-type\": \"application/octet-stream\", \"filename\": \"README\"}]}]}, []]]]"\r
193 +test_expect_equal "$output" "[[[{\"id\": \"$id\", \"match\": true, \"excluded\": false, \"filename\": \"$filename\", \"timestamp\": 946728000, \"date_relative\": \"2000-01-01\", \"tags\": [\"inbox\"], \"headers\": {\"Subject\": \"$subject\", \"From\": \"Notmuch Test Suite <test_suite@notmuchmail.org>\", \"To\": \"test_suite@notmuchmail.org\", \"Cc\": \"\", \"Bcc\": \"\", \"Date\": \"01 Jan 2000 12:00:00 -0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"multipart/mixed\", \"content\": [{\"id\": 2, \"content-type\": \"text/plain\", \"content\": \"This is a test message with inline attachment with a filename\"}, {\"id\": 3, \"content-type\": \"application/octet-stream\", \"filename\": \"README\"}]}]}, []]]]"\r
194  \r
195  test_begin_subtest "Search message: json, utf-8"\r
196  add_message "[subject]=\"json-search-utf8-body-sübjéct\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"jsön-search-méssage\""\r
197 diff --git a/test/maildir-sync b/test/maildir-sync\r
198 index d5872a5..dfa3966 100755\r
199 --- a/test/maildir-sync\r
200 +++ b/test/maildir-sync\r
201 @@ -46,6 +46,7 @@ test_begin_subtest "notmuch show works with renamed file (without notmuch new)"\r
202  output=$(notmuch show --format=json id:${gen_msg_id} | filter_show_json)\r
203  test_expect_equal "$output" '[[[{"id": "adding-replied-tag@notmuch-test-suite",\r
204  "match": true,\r
205 +"excluded": false,\r
206  "filename": "MAIL_DIR/cur/adding-replied-tag:2,RS",\r
207  "timestamp": 978709437,\r
208  "date_relative": "2001-01-05",\r
209 diff --git a/test/multipart b/test/multipart\r
210 index 2dd73f5..3d2dcfc 100755\r
211 --- a/test/multipart\r
212 +++ b/test/multipart\r
213 @@ -108,7 +108,7 @@ notmuch new > /dev/null\r
214  test_begin_subtest "--format=text --part=0, full message"\r
215  notmuch show --format=text --part=0 'id:87liy5ap00.fsf@yoom.home.cworth.org' >OUTPUT\r
216  cat <<EOF >EXPECTED\r
217 -\f\r
218 message{ id:87liy5ap00.fsf@yoom.home.cworth.org depth:0 match:1 filename:${MAIL_DIR}/multipart\r
219 +\f\r
220 message{ id:87liy5ap00.fsf@yoom.home.cworth.org depth:0 match:1 excluded:0 filename:${MAIL_DIR}/multipart\r
221  \f\r
222 header{\r
223  Carl Worth <cworth@cworth.org> (2001-01-05) (attachment inbox signed unread)\r
224  Subject: Multipart message\r
225 @@ -322,7 +322,7 @@ notmuch show --format=json --part=0 'id:87liy5ap00.fsf@yoom.home.cworth.org' | s\r
226  echo >>OUTPUT # expect *no* newline at end of output\r
227  cat <<EOF >EXPECTED\r
228  \r
229 -{"id": "87liy5ap00.fsf@yoom.home.cworth.org", "match": true, "filename": "${MAIL_DIR}/multipart", "timestamp": 978709437, "date_relative": "2001-01-05", "tags": ["attachment","inbox","signed","unread"], "headers": {"Subject": "Multipart message", "From": "Carl Worth <cworth@cworth.org>", "To": "cworth@cworth.org", "Cc": "", "Bcc": "", "Date": "Fri, 05 Jan 2001 15:43:57 +0000"}, "body": [\r
230 +{"id": "87liy5ap00.fsf@yoom.home.cworth.org", "match": true, "excluded": false, "filename": "${MAIL_DIR}/multipart", "timestamp": 978709437, "date_relative": "2001-01-05", "tags": ["attachment","inbox","signed","unread"], "headers": {"Subject": "Multipart message", "From": "Carl Worth <cworth@cworth.org>", "To": "cworth@cworth.org", "Cc": "", "Bcc": "", "Date": "Fri, 05 Jan 2001 15:43:57 +0000"}, "body": [\r
231  {"id": 1, "content-type": "multipart/signed", "content": [\r
232  {"id": 2, "content-type": "multipart/mixed", "content": [\r
233  {"id": 3, "content-type": "message/rfc822", "content": [{"headers": {"From": "Carl Worth <cworth@cworth.org>", "To": "cworth@cworth.org", "Subject": "html message", "Date": "Fri, 05 Jan 2001 15:42:57 +0000"}, "body": [\r
234 diff --git a/test/thread-naming b/test/thread-naming\r
235 index 2ce9216..f5f1de3 100755\r
236 --- a/test/thread-naming\r
237 +++ b/test/thread-naming\r
238 @@ -65,7 +65,7 @@ test_expect_equal "$output" "thread:XXX   2001-01-12 [6/8] Notmuch Test Suite; t\r
239  \r
240  test_begin_subtest 'Test order of messages in "notmuch show"'\r
241  output=$(notmuch show thread-naming | notmuch_show_sanitize)\r
242 -test_expect_equal "$output" "\f\r
243 message{ id:msg-$(printf "%03d" $first)@notmuch-test-suite depth:0 match:1 filename:/XXX/mail/msg-$(printf "%03d" $first)\r
244 +test_expect_equal "$output" "\f\r
245 message{ id:msg-$(printf "%03d" $first)@notmuch-test-suite depth:0 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $first)\r
246  \f\r
247 header{\r
248  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (unread)\r
249  Subject: thread-naming: Initial thread subject\r
250 @@ -79,7 +79,7 @@ This is just a test message (#$first)\r
251  \f\r
252 part}\r
253  \f\r
254 body}\r
255  \f\r
256 message}\r
257 -\f\r
258 message{ id:msg-$(printf "%03d" $((first + 1)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 1)))\r
259 +\f\r
260 message{ id:msg-$(printf "%03d" $((first + 1)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 1)))\r
261  \f\r
262 header{\r
263  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-06) (inbox unread)\r
264  Subject: thread-naming: Older changed subject\r
265 @@ -93,7 +93,7 @@ This is just a test message (#$((first + 1)))\r
266  \f\r
267 part}\r
268  \f\r
269 body}\r
270  \f\r
271 message}\r
272 -\f\r
273 message{ id:msg-$(printf "%03d" $((first + 2)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 2)))\r
274 +\f\r
275 message{ id:msg-$(printf "%03d" $((first + 2)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 2)))\r
276  \f\r
277 header{\r
278  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-07) (inbox unread)\r
279  Subject: thread-naming: Newer changed subject\r
280 @@ -107,7 +107,7 @@ This is just a test message (#$((first + 2)))\r
281  \f\r
282 part}\r
283  \f\r
284 body}\r
285  \f\r
286 message}\r
287 -\f\r
288 message{ id:msg-$(printf "%03d" $((first + 3)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 3)))\r
289 +\f\r
290 message{ id:msg-$(printf "%03d" $((first + 3)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 3)))\r
291  \f\r
292 header{\r
293  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-08) (unread)\r
294  Subject: thread-naming: Final thread subject\r
295 @@ -121,7 +121,7 @@ This is just a test message (#$((first + 3)))\r
296  \f\r
297 part}\r
298  \f\r
299 body}\r
300  \f\r
301 message}\r
302 -\f\r
303 message{ id:msg-$(printf "%03d" $((first + 4)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 4)))\r
304 +\f\r
305 message{ id:msg-$(printf "%03d" $((first + 4)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 4)))\r
306  \f\r
307 header{\r
308  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-09) (inbox unread)\r
309  Subject: Re: thread-naming: Initial thread subject\r
310 @@ -135,7 +135,7 @@ This is just a test message (#$((first + 4)))\r
311  \f\r
312 part}\r
313  \f\r
314 body}\r
315  \f\r
316 message}\r
317 -\f\r
318 message{ id:msg-$(printf "%03d" $((first + 5)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 5)))\r
319 +\f\r
320 message{ id:msg-$(printf "%03d" $((first + 5)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 5)))\r
321  \f\r
322 header{\r
323  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-10) (inbox unread)\r
324  Subject: Aw: thread-naming: Initial thread subject\r
325 @@ -149,7 +149,7 @@ This is just a test message (#$((first + 5)))\r
326  \f\r
327 part}\r
328  \f\r
329 body}\r
330  \f\r
331 message}\r
332 -\f\r
333 message{ id:msg-$(printf "%03d" $((first + 6)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 6)))\r
334 +\f\r
335 message{ id:msg-$(printf "%03d" $((first + 6)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 6)))\r
336  \f\r
337 header{\r
338  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-11) (inbox unread)\r
339  Subject: Vs: thread-naming: Initial thread subject\r
340 @@ -163,8 +163,7 @@ This is just a test message (#$((first + 6)))\r
341  \f\r
342 part}\r
343  \f\r
344 body}\r
345  \f\r
346 message}\r
347 -\f\r
348 message{ id:msg-$(printf "%03d" $((first + 7)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 7)))\r
349 +\f\r
350 message{ id:msg-$(printf "%03d" $((first + 7)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 7)))\r
351  \f\r
352 header{\r
353  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-12) (inbox unread)\r
354  Subject: Sv: thread-naming: Initial thread subject\r
355 -- \r
356 1.7.2.3\r
357 \r