From: Austin Clements Date: Fri, 24 Feb 2012 23:47:10 +0000 (+1900) Subject: Re: [RFC PATCH v5 09/11] test: update tests to reflect the exclude flag X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4543fc5007b1494147458a15646cb881943e8d92;p=notmuch-archives.git Re: [RFC PATCH v5 09/11] test: update tests to reflect the exclude flag --- diff --git a/39/7a86cdde142236ee98c0a5ca9c5ca38b0496c8 b/39/7a86cdde142236ee98c0a5ca9c5ca38b0496c8 new file mode 100644 index 000000000..16c9396f3 --- /dev/null +++ b/39/7a86cdde142236ee98c0a5ca9c5ca38b0496c8 @@ -0,0 +1,376 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 614B841638B + for ; Fri, 24 Feb 2012 15:47:15 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.699 +X-Spam-Level: +X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 + tests=[NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id H82eo9tcoFLG for ; + Fri, 24 Feb 2012 15:47:13 -0800 (PST) +Received: from dmz-mailsec-scanner-5.mit.edu (DMZ-MAILSEC-SCANNER-5.MIT.EDU + [18.7.68.34]) + by olra.theworths.org (Postfix) with ESMTP id 4A390415CDF + for ; Fri, 24 Feb 2012 15:47:13 -0800 (PST) +X-AuditID: 12074422-b7fd66d0000008f9-5d-4f48218096d8 +Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) + by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP + id EA.09.02297.081284F4; Fri, 24 Feb 2012 18:47:12 -0500 (EST) +Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) + by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q1ONlCr1006670; + Fri, 24 Feb 2012 18:47:12 -0500 +Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) + (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q1ONlAK2026749 + (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); + Fri, 24 Feb 2012 18:47:11 -0500 (EST) +Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) + (envelope-from ) + id 1S14r0-0000is-HZ; Fri, 24 Feb 2012 18:47:10 -0500 +Date: Fri, 24 Feb 2012 18:47:10 -0500 +From: Austin Clements +To: Mark Walters +Subject: Re: [RFC PATCH v5 09/11] test: update tests to reflect the exclude + flag +Message-ID: <20120224234710.GI30513@mit.edu> +References: <1329296619-7463-1-git-send-email-markwalters1009@gmail.com> + <1329296619-7463-10-git-send-email-markwalters1009@gmail.com> +MIME-Version: 1.0 +Content-Type: text/plain; charset=iso-8859-1 +Content-Disposition: inline +Content-Transfer-Encoding: 8bit +In-Reply-To: <1329296619-7463-10-git-send-email-markwalters1009@gmail.com> +User-Agent: Mutt/1.5.21 (2010-09-15) +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFlrGKsWRmVeSWpSXmKPExsUixG6nrtug6OFv8LbPwGL1XB6L6zdnMjsw + eeycdZfd49mqW8wBTFFcNimpOZllqUX6dglcGVt6VzAXzGllrNj0xb2BcX9RFyMHh4SAicSq + 3T5djJxAppjEhXvr2boYuTiEBPYxSjTOfw3lbGCU2Pu7nRXCOckksW/nKihnCaPEuyc7WEH6 + WQRUJeb3n2YGsdkENCS27V/OCGKLCOhI3D60gB3EZhaQlvj2u5kJxBYWCJI4eO8uK8gZvEA1 + K25XQszsYJTY+uccC0gNr4CgxMmZT1ggenUkdm69wwZSDzJn+T8OiLC8RPPW2WBrOQW8JP5t + vQA2XlRARWLKyW1sExiFZyGZNAvJpFkIk2YhmbSAkWUVo2xKbpVubmJmTnFqsm5xcmJeXmqR + rqlebmaJXmpK6SZGcBS4KO1g/HlQ6RCjAAejEg8v0xZ3fyHWxLLiytxDjJIcTEqivOayHv5C + fEn5KZUZicUZ8UWlOanFhxglOJiVRHjt2IByvCmJlVWpRfkwKWkOFiVxXnWtd35CAumJJanZ + qakFqUUwWRkODiUJ3tMKQI2CRanpqRVpmTklCGkmDk6Q4TxAwx+C1PAWFyTmFmemQ+RPMepy + rF28+SKjEEtefl6qlDjvY5AiAZCijNI8uDmw5PWKURzoLWHeFyBVPMDEBzfpFdASJqAl9n9d + QZaUJCKkpBoY7TlVjx68FsjxKiX47YlXlenn7525KvV1tv+Fz5MYxcNEPXqF3BamtZ48f2vT + Nw37iLZPr99OiZdiOj4tyvXRyjA2cYMY5k9SUkrlRVVJF+50HujM07yucrngWrX7JFHbo/KH + /Iw7oh7JLjP/LLVbYFnzRpdZcUfu7T2gUbpP0pnV7/b7i3LzlFiKMxINtZiLihMBPiDQrTkD AAA= +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 24 Feb 2012 23:47:15 -0000 + +Did you mean to put this one right after the show format update, +rather than having the man update between the two? (I would argue +that this should go in the same patch as the show format update so +that the tests never fail, but people seem to disagree about this.) + +Quoth Mark Walters on Feb 15 at 9:03 am: +> notmuch show outputs the exclude flag so many tests using notmuch +> show failed. This commit adds "excluded:0" or "excluded: false" to +> the expected outputs. After this commit there should be no failing +> tests. +> --- +> test/crypto | 9 ++++++++- +> test/encoding | 2 +- +> test/json | 6 +++--- +> test/maildir-sync | 1 + +> test/multipart | 4 ++-- +> test/thread-naming | 16 ++++++++-------- +> 6 files changed, 23 insertions(+), 15 deletions(-) +> +> diff --git a/test/crypto b/test/crypto +> index 1dbb60a..564cf9a 100755 +> --- a/test/crypto +> +++ b/test/crypto +> @@ -43,6 +43,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \ +> | sed -e 's|"created": [1234567890]*|"created": 946728000|') +> expected='[[[{"id": "XXXXX", +> "match": true, +> + "excluded": false, +> "filename": "YYYYY", +> "timestamp": 946728000, +> "date_relative": "2000-01-01", +> @@ -77,6 +78,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \ +> | sed -e 's|"created": [1234567890]*|"created": 946728000|') +> expected='[[[{"id": "XXXXX", +> "match": true, +> + "excluded": false, +> "filename": "YYYYY", +> "timestamp": 946728000, +> "date_relative": "2000-01-01", +> @@ -113,6 +115,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \ +> | sed -e 's|"created": [1234567890]*|"created": 946728000|') +> expected='[[[{"id": "XXXXX", +> "match": true, +> + "excluded": false, +> "filename": "YYYYY", +> "timestamp": 946728000, +> "date_relative": "2000-01-01", +> @@ -153,7 +156,7 @@ test_begin_subtest "decryption, --format=text" +> output=$(notmuch show --format=text --decrypt subject:"test encrypted message 001" \ +> | notmuch_show_sanitize_all \ +> | sed -e 's|"created": [1234567890]*|"created": 946728000|') +> -expected=' +message{ id:XXXXX depth:0 match:1 filename:XXXXX +> +expected=' +message{ id:XXXXX depth:0 match:1 excluded:0 filename:XXXXX +> +header{ +> Notmuch Test Suite (2000-01-01) (encrypted inbox) +> Subject: test encrypted message 001 +> @@ -187,6 +190,7 @@ output=$(notmuch show --format=json --decrypt subject:"test encrypted message 00 +> | sed -e 's|"created": [1234567890]*|"created": 946728000|') +> expected='[[[{"id": "XXXXX", +> "match": true, +> + "excluded": false, +> "filename": "YYYYY", +> "timestamp": 946728000, +> "date_relative": "2000-01-01", +> @@ -242,6 +246,7 @@ output=$(notmuch show --format=json --decrypt subject:"test encrypted message 00 +> | sed -e 's|"created": [1234567890]*|"created": 946728000|') +> expected='[[[{"id": "XXXXX", +> "match": true, +> + "excluded": false, +> "filename": "YYYYY", +> "timestamp": 946728000, +> "date_relative": "2000-01-01", +> @@ -277,6 +282,7 @@ output=$(notmuch show --format=json --decrypt subject:"test encrypted message 00 +> | sed -e 's|"created": [1234567890]*|"created": 946728000|') +> expected='[[[{"id": "XXXXX", +> "match": true, +> + "excluded": false, +> "filename": "YYYYY", +> "timestamp": 946728000, +> "date_relative": "2000-01-01", +> @@ -332,6 +338,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \ +> | sed -e 's|"created": [1234567890]*|"created": 946728000|') +> expected='[[[{"id": "XXXXX", +> "match": true, +> + "excluded": false, +> "filename": "YYYYY", +> "timestamp": 946728000, +> "date_relative": "2000-01-01", +> diff --git a/test/encoding b/test/encoding +> index 33259c1..a872345 100755 +> --- a/test/encoding +> +++ b/test/encoding +> @@ -6,7 +6,7 @@ test_begin_subtest "Message with text of unknown charset" +> add_message '[content-type]="text/plain; charset=unknown-8bit"' \ +> "[body]=irrelevant" +> output=$(notmuch show id:${gen_msg_id} 2>&1 | notmuch_show_sanitize) +> -test_expect_equal "$output" " +message{ id:msg-001@notmuch-test-suite depth:0 match:1 filename:/XXX/mail/msg-001 +> +test_expect_equal "$output" " +message{ id:msg-001@notmuch-test-suite depth:0 match:1 excluded:0 filename:/XXX/mail/msg-001 +> +header{ +> Notmuch Test Suite (2001-01-05) (inbox unread) +> Subject: Test message #1 +> diff --git a/test/json b/test/json +> index 7df4380..f95fcf8 100755 +> --- a/test/json +> +++ b/test/json +> @@ -5,7 +5,7 @@ test_description="--format=json output" +> test_begin_subtest "Show message: json" +> add_message "[subject]=\"json-show-subject\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"json-show-message\"" +> output=$(notmuch show --format=json "json-show-message") +> -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 \", \"To\": \"Notmuch Test Suite \", \"Cc\": \"\", \"Bcc\": \"\", \"Date\": \"Sat, 01 Jan 2000 12:00:00 -0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"text/plain\", \"content\": \"json-show-message\n\"}]}, []]]]" +> +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 \", \"To\": \"Notmuch Test Suite \", \"Cc\": \"\", \"Bcc\": \"\", \"Date\": \"Sat, 01 Jan 2000 12:00:00 -0000\"}, \"body\": [{\"id\": 1, \"content-type\": \"text/plain\", \"content\": \"json-show-message\n\"}]}, []]]]" +> +> test_begin_subtest "Search message: json" +> add_message "[subject]=\"json-search-subject\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"json-search-message\"" +> @@ -22,7 +22,7 @@ test_expect_equal "$output" "[{\"thread\": \"XXX\", +> test_begin_subtest "Show message: json, utf-8" +> 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\"" +> output=$(notmuch show --format=json "jsön-show-méssage") +> -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 \", \"To\": \"Notmuch Test Suite \", \"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\"}]}, []]]]" +> +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 \", \"To\": \"Notmuch Test Suite \", \"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\"}]}, []]]]" +> +> test_begin_subtest "Show message: json, inline attachment filename" +> subject='json-show-inline-attachment-filename' +> @@ -35,7 +35,7 @@ emacs_deliver_message \ +> (insert \"Message-ID: <$id>\n\")" +> output=$(notmuch show --format=json "id:$id") +> filename=$(notmuch search --output=files "id:$id") +> -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 \", \"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\"}]}]}, []]]]" +> +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 \", \"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\"}]}]}, []]]]" +> +> test_begin_subtest "Search message: json, utf-8" +> 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\"" +> diff --git a/test/maildir-sync b/test/maildir-sync +> index d5872a5..dfa3966 100755 +> --- a/test/maildir-sync +> +++ b/test/maildir-sync +> @@ -46,6 +46,7 @@ test_begin_subtest "notmuch show works with renamed file (without notmuch new)" +> output=$(notmuch show --format=json id:${gen_msg_id} | filter_show_json) +> test_expect_equal "$output" '[[[{"id": "adding-replied-tag@notmuch-test-suite", +> "match": true, +> +"excluded": false, +> "filename": "MAIL_DIR/cur/adding-replied-tag:2,RS", +> "timestamp": 978709437, +> "date_relative": "2001-01-05", +> diff --git a/test/multipart b/test/multipart +> index 2dd73f5..3d2dcfc 100755 +> --- a/test/multipart +> +++ b/test/multipart +> @@ -108,7 +108,7 @@ notmuch new > /dev/null +> test_begin_subtest "--format=text --part=0, full message" +> notmuch show --format=text --part=0 'id:87liy5ap00.fsf@yoom.home.cworth.org' >OUTPUT +> cat <EXPECTED +> - +message{ id:87liy5ap00.fsf@yoom.home.cworth.org depth:0 match:1 filename:${MAIL_DIR}/multipart +> + +message{ id:87liy5ap00.fsf@yoom.home.cworth.org depth:0 match:1 excluded:0 filename:${MAIL_DIR}/multipart +> +header{ +> Carl Worth (2001-01-05) (attachment inbox signed unread) +> Subject: Multipart message +> @@ -322,7 +322,7 @@ notmuch show --format=json --part=0 'id:87liy5ap00.fsf@yoom.home.cworth.org' | s +> echo >>OUTPUT # expect *no* newline at end of output +> cat <EXPECTED +> +> -{"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 ", "To": "cworth@cworth.org", "Cc": "", "Bcc": "", "Date": "Fri, 05 Jan 2001 15:43:57 +0000"}, "body": [ +> +{"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 ", "To": "cworth@cworth.org", "Cc": "", "Bcc": "", "Date": "Fri, 05 Jan 2001 15:43:57 +0000"}, "body": [ +> {"id": 1, "content-type": "multipart/signed", "content": [ +> {"id": 2, "content-type": "multipart/mixed", "content": [ +> {"id": 3, "content-type": "message/rfc822", "content": [{"headers": {"From": "Carl Worth ", "To": "cworth@cworth.org", "Subject": "html message", "Date": "Fri, 05 Jan 2001 15:42:57 +0000"}, "body": [ +> diff --git a/test/thread-naming b/test/thread-naming +> index 942e593..1a1a48f 100755 +> --- a/test/thread-naming +> +++ b/test/thread-naming +> @@ -65,7 +65,7 @@ test_expect_equal "$output" "thread:XXX 2001-01-12 [6/8] Notmuch Test Suite; t +> +> test_begin_subtest 'Test order of messages in "notmuch show"' +> output=$(notmuch show thread-naming | notmuch_show_sanitize) +> -test_expect_equal "$output" " +message{ id:msg-$(printf "%03d" $first)@notmuch-test-suite depth:0 match:1 filename:/XXX/mail/msg-$(printf "%03d" $first) +> +test_expect_equal "$output" " +message{ id:msg-$(printf "%03d" $first)@notmuch-test-suite depth:0 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $first) +> +header{ +> Notmuch Test Suite (2001-01-05) (unread) +> Subject: thread-naming: Initial thread subject +> @@ -79,7 +79,7 @@ This is just a test message (#$first) +> +part} +> +body} +> +message} +> - +message{ id:msg-$(printf "%03d" $((first + 1)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 1))) +> + +message{ id:msg-$(printf "%03d" $((first + 1)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 1))) +> +header{ +> Notmuch Test Suite (2001-01-06) (inbox unread) +> Subject: thread-naming: Older changed subject +> @@ -93,7 +93,7 @@ This is just a test message (#$((first + 1))) +> +part} +> +body} +> +message} +> - +message{ id:msg-$(printf "%03d" $((first + 2)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 2))) +> + +message{ id:msg-$(printf "%03d" $((first + 2)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 2))) +> +header{ +> Notmuch Test Suite (2001-01-07) (inbox unread) +> Subject: thread-naming: Newer changed subject +> @@ -107,7 +107,7 @@ This is just a test message (#$((first + 2))) +> +part} +> +body} +> +message} +> - +message{ id:msg-$(printf "%03d" $((first + 3)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 3))) +> + +message{ id:msg-$(printf "%03d" $((first + 3)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 3))) +> +header{ +> Notmuch Test Suite (2001-01-08) (unread) +> Subject: thread-naming: Final thread subject +> @@ -121,7 +121,7 @@ This is just a test message (#$((first + 3))) +> +part} +> +body} +> +message} +> - +message{ id:msg-$(printf "%03d" $((first + 4)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 4))) +> + +message{ id:msg-$(printf "%03d" $((first + 4)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 4))) +> +header{ +> Notmuch Test Suite (2001-01-09) (inbox unread) +> Subject: Re: thread-naming: Initial thread subject +> @@ -135,7 +135,7 @@ This is just a test message (#$((first + 4))) +> +part} +> +body} +> +message} +> - +message{ id:msg-$(printf "%03d" $((first + 5)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 5))) +> + +message{ id:msg-$(printf "%03d" $((first + 5)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 5))) +> +header{ +> Notmuch Test Suite (2001-01-10) (inbox unread) +> Subject: Aw: thread-naming: Initial thread subject +> @@ -149,7 +149,7 @@ This is just a test message (#$((first + 5))) +> +part} +> +body} +> +message} +> - +message{ id:msg-$(printf "%03d" $((first + 6)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 6))) +> + +message{ id:msg-$(printf "%03d" $((first + 6)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 6))) +> +header{ +> Notmuch Test Suite (2001-01-11) (inbox unread) +> Subject: Vs: thread-naming: Initial thread subject +> @@ -163,7 +163,7 @@ This is just a test message (#$((first + 6))) +> +part} +> +body} +> +message} +> - +message{ id:msg-$(printf "%03d" $((first + 7)))@notmuch-test-suite depth:1 match:1 filename:/XXX/mail/msg-$(printf "%03d" $((first + 7))) +> + +message{ id:msg-$(printf "%03d" $((first + 7)))@notmuch-test-suite depth:1 match:1 excluded:0 filename:/XXX/mail/msg-$(printf "%03d" $((first + 7))) +> +header{ +> Notmuch Test Suite (2001-01-12) (inbox unread) +> Subject: Sv: thread-naming: Initial thread subject