[PATCH 2/9] lib: private string map (associative array) API
[notmuch-archives.git] / b1 / 81d71832daaac9561ca8ddc0389b4fafdbee15
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 3BC56431FB6\r
6         for <notmuch@notmuchmail.org>; Thu,  1 Mar 2012 14:29:53 -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 Dcpi-HwFxzzP for <notmuch@notmuchmail.org>;\r
18         Thu,  1 Mar 2012 14:29:48 -0800 (PST)\r
19 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
20         [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 1C149429E33\r
23         for <notmuch@notmuchmail.org>; Thu,  1 Mar 2012 14:29:39 -0800 (PST)\r
24 Received: by mail-wi0-f181.google.com with SMTP id o1so305757wic.26\r
25         for <notmuch@notmuchmail.org>; Thu, 01 Mar 2012 14:29:39 -0800 (PST)\r
26 Received-SPF: pass (google.com: domain of markwalters1009@gmail.com designates\r
27         10.216.136.68 as permitted sender) client-ip=10.216.136.68; \r
28 Authentication-Results: mr.google.com; spf=pass (google.com: domain of\r
29         markwalters1009@gmail.com designates 10.216.136.68 as permitted\r
30         sender) smtp.mail=markwalters1009@gmail.com;\r
31         dkim=pass header.i=markwalters1009@gmail.com\r
32 Received: from mr.google.com ([10.216.136.68])\r
33         by 10.216.136.68 with SMTP id v46mr3759394wei.31.1330640979957\r
34         (num_hops = 1); Thu, 01 Mar 2012 14:29:39 -0800 (PST)\r
35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
36         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
37         :mime-version:content-type:content-transfer-encoding;\r
38         bh=CBJWJIrb9cTW2q8/4UgloLn47lBFqDF622Oetn+iX18=;\r
39         b=eEuZlemH+GYz11gnDJTGnOb25GPcCpe0RLDxRLbgeyFKdjFRtjdpPpbm4RH+9J0m8x\r
40         67aIVCfPAFcDo9cg0A8BGVLJp1W1sLQJb/yw1zPEFOnlgzTQ09gt381Ul1c+hE6O/5QZ\r
41         eVAe027w6H0nf5XDs8l+B2dGqHfYkMKBAYhJj6MPe7GCOS9bTW7yd/ZK1FvhK4a529j3\r
42         cbsjM7gVbMrR/iibi3GwIlQgnt0WsPNPdnJ+mI+JOSTMlRiS/E3LPAMOP85O2KASljLj\r
43         MXoXLQFLz1Sog2cCHExkEa56dPx0y2mINxlD3ZuEgUqJnnhy03kcBTsj2J6c6EZaQsWy\r
44         RH/w==\r
45 Received: by 10.216.136.68 with SMTP id v46mr3029950wei.31.1330640979869;\r
46         Thu, 01 Mar 2012 14:29:39 -0800 (PST)\r
47 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
48  [94.192.233.223])      by mx.google.com with ESMTPS id\r
49  dr5sm16656016wib.0.2012.03.01.14.29.37 (version=TLSv1/SSLv3 cipher=OTHER);\r
50         Thu, 01 Mar 2012 14:29:38 -0800 (PST)\r
51 From: Mark Walters <markwalters1009@gmail.com>\r
52 To: notmuch@notmuchmail.org\r
53 Subject: [Patch v7 09/13] test: update tests to reflect the exclude flag\r
54 Date: Thu,  1 Mar 2012 22:30:41 +0000\r
55 Message-Id: <1330641045-27416-10-git-send-email-markwalters1009@gmail.com>\r
56 X-Mailer: git-send-email 1.7.2.3\r
57 In-Reply-To: <1330641045-27416-1-git-send-email-markwalters1009@gmail.com>\r
58 References: <1330641045-27416-1-git-send-email-markwalters1009@gmail.com>\r
59 MIME-Version: 1.0\r
60 Content-Type: text/plain; charset=UTF-8\r
61 Content-Transfer-Encoding: 8bit\r
62 X-BeenThere: notmuch@notmuchmail.org\r
63 X-Mailman-Version: 2.1.13\r
64 Precedence: list\r
65 List-Id: "Use and development of the notmuch mail system."\r
66         <notmuch.notmuchmail.org>\r
67 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
69 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
70 List-Post: <mailto:notmuch@notmuchmail.org>\r
71 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
72 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
73         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
74 X-List-Received-Date: Thu, 01 Mar 2012 22:29:53 -0000\r
75 \r
76 notmuch show outputs the exclude flag so many tests using notmuch\r
77 show failed. This commit adds "excluded:0" or "excluded: false" to\r
78 the expected outputs. After this commit there should be no failing\r
79 tests.\r
80 ---\r
81  test/crypto        |    9 ++++++++-\r
82  test/encoding      |    2 +-\r
83  test/json          |    6 +++---\r
84  test/maildir-sync  |    1 +\r
85  test/multipart     |    6 +++---\r
86  test/thread-naming |   16 ++++++++--------\r
87  6 files changed, 24 insertions(+), 16 deletions(-)\r
88 \r
89 diff --git a/test/crypto b/test/crypto\r
90 index 7e774c8..4de4d2b 100755\r
91 --- a/test/crypto\r
92 +++ b/test/crypto\r
93 @@ -43,6 +43,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \\r
94      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
95  expected='[[[{"id": "XXXXX",\r
96   "match": true,\r
97 + "excluded": false,\r
98   "filename": "YYYYY",\r
99   "timestamp": 946728000,\r
100   "date_relative": "2000-01-01",\r
101 @@ -76,6 +77,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \\r
102      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
103  expected='[[[{"id": "XXXXX",\r
104   "match": true,\r
105 + "excluded": false,\r
106   "filename": "YYYYY",\r
107   "timestamp": 946728000,\r
108   "date_relative": "2000-01-01",\r
109 @@ -111,6 +113,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \\r
110      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
111  expected='[[[{"id": "XXXXX",\r
112   "match": true,\r
113 + "excluded": false,\r
114   "filename": "YYYYY",\r
115   "timestamp": 946728000,\r
116   "date_relative": "2000-01-01",\r
117 @@ -150,7 +153,7 @@ test_begin_subtest "decryption, --format=text"\r
118  output=$(notmuch show --format=text --decrypt subject:"test encrypted message 001" \\r
119      | notmuch_show_sanitize_all \\r
120      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
121 -expected='\f\r
122 message{ id:XXXXX depth:0 match:1 filename:XXXXX\r
123 +expected='\f\r
124 message{ id:XXXXX depth:0 match:1 excluded:0 filename:XXXXX\r
125  \f\r
126 header{\r
127  Notmuch Test Suite <test_suite@notmuchmail.org> (2000-01-01) (encrypted inbox)\r
128  Subject: test encrypted message 001\r
129 @@ -184,6 +187,7 @@ output=$(notmuch show --format=json --decrypt subject:"test encrypted message 00\r
130      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
131  expected='[[[{"id": "XXXXX",\r
132   "match": true,\r
133 + "excluded": false,\r
134   "filename": "YYYYY",\r
135   "timestamp": 946728000,\r
136   "date_relative": "2000-01-01",\r
137 @@ -238,6 +242,7 @@ output=$(notmuch show --format=json --decrypt subject:"test encrypted message 00\r
138      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
139  expected='[[[{"id": "XXXXX",\r
140   "match": true,\r
141 + "excluded": false,\r
142   "filename": "YYYYY",\r
143   "timestamp": 946728000,\r
144   "date_relative": "2000-01-01",\r
145 @@ -272,6 +277,7 @@ output=$(notmuch show --format=json --decrypt subject:"test encrypted message 00\r
146      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
147  expected='[[[{"id": "XXXXX",\r
148   "match": true,\r
149 + "excluded": false,\r
150   "filename": "YYYYY",\r
151   "timestamp": 946728000,\r
152   "date_relative": "2000-01-01",\r
153 @@ -326,6 +332,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \\r
154      | sed -e 's|"created": [1234567890]*|"created": 946728000|')\r
155  expected='[[[{"id": "XXXXX",\r
156   "match": true,\r
157 + "excluded": false,\r
158   "filename": "YYYYY",\r
159   "timestamp": 946728000,\r
160   "date_relative": "2000-01-01",\r
161 diff --git a/test/encoding b/test/encoding\r
162 index f0d073c..98abf77 100755\r
163 --- a/test/encoding\r
164 +++ b/test/encoding\r
165 @@ -6,7 +6,7 @@ test_begin_subtest "Message with text of unknown charset"\r
166  add_message '[content-type]="text/plain; charset=unknown-8bit"' \\r
167             "[body]=irrelevant"\r
168  output=$(notmuch show id:${gen_msg_id} 2>&1 | notmuch_show_sanitize)\r
169 -test_expect_equal "$output" "\f\r
170 message{ id:msg-001@notmuch-test-suite depth:0 match:1 filename:/XXX/mail/msg-001\r
171 +test_expect_equal "$output" "\f\r
172 message{ id:msg-001@notmuch-test-suite depth:0 match:1 excluded:0 filename:/XXX/mail/msg-001\r
173  \f\r
174 header{\r
175  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (inbox unread)\r
176  Subject: Test message #1\r
177 diff --git a/test/json b/test/json\r
178 index 1bdffd2..6439788 100755\r
179 --- a/test/json\r
180 +++ b/test/json\r
181 @@ -5,7 +5,7 @@ test_description="--format=json output"\r
182  test_begin_subtest "Show message: json"\r
183  add_message "[subject]=\"json-show-subject\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"json-show-message\""\r
184  output=$(notmuch show --format=json "json-show-message")\r
185 -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>\", \"Date\": \"Sat, 01 Jan 2000 12:00:00 +0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"text/plain\", \"content\": \"json-show-message\n\"}]}, []]]]"\r
186 +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>\", \"Date\": \"Sat, 01 Jan 2000 12:00:00 +0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"text/plain\", \"content\": \"json-show-message\n\"}]}, []]]]"\r
187  \r
188  test_begin_subtest "Search message: json"\r
189  add_message "[subject]=\"json-search-subject\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"json-search-message\""\r
190 @@ -22,7 +22,7 @@ test_expect_equal "$output" "[{\"thread\": \"XXX\",\r
191  test_begin_subtest "Show message: json, utf-8"\r
192  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
193  output=$(notmuch show --format=json "jsön-show-méssage")\r
194 -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>\", \"Date\": \"Sat, 01 Jan 2000 12:00:00 +0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"text/plain\", \"content\": \"jsön-show-méssage\n\"}]}, []]]]"\r
195 +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>\", \"Date\": \"Sat, 01 Jan 2000 12:00:00 +0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"text/plain\", \"content\": \"jsön-show-méssage\n\"}]}, []]]]"\r
196  \r
197  test_begin_subtest "Show message: json, inline attachment filename"\r
198  subject='json-show-inline-attachment-filename'\r
199 @@ -35,7 +35,7 @@ emacs_deliver_message \\r
200       (insert \"Message-ID: <$id>\n\")"\r
201  output=$(notmuch show --format=json "id:$id")\r
202  filename=$(notmuch search --output=files "id:$id")\r
203 -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\", \"Date\": \"Sat, 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
204 +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\", \"Date\": \"Sat, 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
205  \r
206  test_begin_subtest "Search message: json, utf-8"\r
207  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
208 diff --git a/test/maildir-sync b/test/maildir-sync\r
209 index 1ee2db0..d72ec07 100755\r
210 --- a/test/maildir-sync\r
211 +++ b/test/maildir-sync\r
212 @@ -46,6 +46,7 @@ test_begin_subtest "notmuch show works with renamed file (without notmuch new)"\r
213  output=$(notmuch show --format=json id:${gen_msg_id} | filter_show_json)\r
214  test_expect_equal "$output" '[[[{"id": "adding-replied-tag@notmuch-test-suite",\r
215  "match": true,\r
216 +"excluded": false,\r
217  "filename": "MAIL_DIR/cur/adding-replied-tag:2,RS",\r
218  "timestamp": 978709437,\r
219  "date_relative": "2001-01-05",\r
220 diff --git a/test/multipart b/test/multipart\r
221 index a3036b4..53782c6 100755\r
222 --- a/test/multipart\r
223 +++ b/test/multipart\r
224 @@ -108,7 +108,7 @@ notmuch new > /dev/null\r
225  test_begin_subtest "--format=text --part=0, full message"\r
226  notmuch show --format=text --part=0 'id:87liy5ap00.fsf@yoom.home.cworth.org' >OUTPUT\r
227  cat <<EOF >EXPECTED\r
228 -\f\r
229 message{ id:87liy5ap00.fsf@yoom.home.cworth.org depth:0 match:1 filename:${MAIL_DIR}/multipart\r
230 +\f\r
231 message{ id:87liy5ap00.fsf@yoom.home.cworth.org depth:0 match:1 excluded:0 filename:${MAIL_DIR}/multipart\r
232  \f\r
233 header{\r
234  Carl Worth <cworth@cworth.org> (2001-01-05) (attachment inbox signed unread)\r
235  Subject: Multipart message\r
236 @@ -322,7 +322,7 @@ notmuch show --format=json --part=0 'id:87liy5ap00.fsf@yoom.home.cworth.org' | s\r
237  echo >>OUTPUT # expect *no* newline at end of output\r
238  cat <<EOF >EXPECTED\r
239  \r
240 -{"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", "Date": "Fri, 05 Jan 2001 15:43:57 +0000"}, "body": [\r
241 +{"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", "Date": "Fri, 05 Jan 2001 15:43:57 +0000"}, "body": [\r
242  {"id": 1, "content-type": "multipart/signed", "content": [\r
243  {"id": 2, "content-type": "multipart/mixed", "content": [\r
244  {"id": 3, "content-type": "message/rfc822", "content": [{"headers": {"Subject": "html message", "From": "Carl Worth <cworth@cworth.org>", "To": "cworth@cworth.org", "Date": "Fri, 05 Jan 2001 15:42:57 +0000"}, "body": [\r
245 @@ -594,4 +594,4 @@ notmuch show --format=raw --part=3 id:base64-part-with-crlf > crlf.out\r
246  echo -n -e "\xEF\x0D\x0A" > crlf.expected\r
247  test_expect_equal_file crlf.out crlf.expected\r
248  \r
249 -test_done\r
250 +test_done\r
251 \ No newline at end of file\r
252 diff --git a/test/thread-naming b/test/thread-naming\r
253 index 942e593..1a1a48f 100755\r
254 --- a/test/thread-naming\r
255 +++ b/test/thread-naming\r
256 @@ -65,7 +65,7 @@ test_expect_equal "$output" "thread:XXX   2001-01-12 [6/8] Notmuch Test Suite; t\r
257  \r
258  test_begin_subtest 'Test order of messages in "notmuch show"'\r
259  output=$(notmuch show thread-naming | notmuch_show_sanitize)\r
260 -test_expect_equal "$output" "\f\r
261 message{ id:msg-$(printf "%03d" $first)@notmuch-test-suite depth:0 match:1 filename:/XXX/mail/msg-$(printf "%03d" $first)\r
262 +test_expect_equal "$output" "\f\r
263 message{ id:msg-$(printf "%03d" $first)@notmuch-test-suite depth:0 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $first)\r
264  \f\r
265 header{\r
266  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-05) (unread)\r
267  Subject: thread-naming: Initial thread subject\r
268 @@ -79,7 +79,7 @@ This is just a test message (#$first)\r
269  \f\r
270 part}\r
271  \f\r
272 body}\r
273  \f\r
274 message}\r
275 -\f\r
276 message{ id:msg-$(printf "%03d" $((first + 1)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 1)))\r
277 +\f\r
278 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
279  \f\r
280 header{\r
281  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-06) (inbox unread)\r
282  Subject: thread-naming: Older changed subject\r
283 @@ -93,7 +93,7 @@ This is just a test message (#$((first + 1)))\r
284  \f\r
285 part}\r
286  \f\r
287 body}\r
288  \f\r
289 message}\r
290 -\f\r
291 message{ id:msg-$(printf "%03d" $((first + 2)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 2)))\r
292 +\f\r
293 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
294  \f\r
295 header{\r
296  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-07) (inbox unread)\r
297  Subject: thread-naming: Newer changed subject\r
298 @@ -107,7 +107,7 @@ This is just a test message (#$((first + 2)))\r
299  \f\r
300 part}\r
301  \f\r
302 body}\r
303  \f\r
304 message}\r
305 -\f\r
306 message{ id:msg-$(printf "%03d" $((first + 3)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 3)))\r
307 +\f\r
308 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
309  \f\r
310 header{\r
311  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-08) (unread)\r
312  Subject: thread-naming: Final thread subject\r
313 @@ -121,7 +121,7 @@ This is just a test message (#$((first + 3)))\r
314  \f\r
315 part}\r
316  \f\r
317 body}\r
318  \f\r
319 message}\r
320 -\f\r
321 message{ id:msg-$(printf "%03d" $((first + 4)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 4)))\r
322 +\f\r
323 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
324  \f\r
325 header{\r
326  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-09) (inbox unread)\r
327  Subject: Re: thread-naming: Initial thread subject\r
328 @@ -135,7 +135,7 @@ This is just a test message (#$((first + 4)))\r
329  \f\r
330 part}\r
331  \f\r
332 body}\r
333  \f\r
334 message}\r
335 -\f\r
336 message{ id:msg-$(printf "%03d" $((first + 5)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 5)))\r
337 +\f\r
338 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
339  \f\r
340 header{\r
341  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-10) (inbox unread)\r
342  Subject: Aw: thread-naming: Initial thread subject\r
343 @@ -149,7 +149,7 @@ This is just a test message (#$((first + 5)))\r
344  \f\r
345 part}\r
346  \f\r
347 body}\r
348  \f\r
349 message}\r
350 -\f\r
351 message{ id:msg-$(printf "%03d" $((first + 6)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 6)))\r
352 +\f\r
353 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
354  \f\r
355 header{\r
356  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-11) (inbox unread)\r
357  Subject: Vs: thread-naming: Initial thread subject\r
358 @@ -163,7 +163,7 @@ This is just a test message (#$((first + 6)))\r
359  \f\r
360 part}\r
361  \f\r
362 body}\r
363  \f\r
364 message}\r
365 -\f\r
366 message{ id:msg-$(printf "%03d" $((first + 7)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 7)))\r
367 +\f\r
368 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
369  \f\r
370 header{\r
371  Notmuch Test Suite <test_suite@notmuchmail.org> (2001-01-12) (inbox unread)\r
372  Subject: Sv: thread-naming: Initial thread subject\r
373 -- \r
374 1.7.2.3\r
375 \r