This message should only fail to parse because it looks (rightly or
wrongly) like a 2 message mbox.
---
 test/T050-new.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/test/T050-new.sh b/test/T050-new.sh
index 9ef24f18..e779bd2f 100755
--- a/test/T050-new.sh
+++ b/test/T050-new.sh
@@ -463,4 +463,13 @@ notmuch new
 output=$(notmuch search --output=messages id:[email protected])
 test_expect_equal "$output" "id:[email protected]"
 
+test_begin_subtest "id:[email protected] is indexed with 
index.check_mbox=false"
+test_subtest_known_broken
+cp notmuch-config notmuch-config.old
+notmuch config set index.check_mbox false
+notmuch new
+cp notmuch-config.old notmuch-config
+output=$(notmuch search --output=messages id:[email protected])
+test_expect_equal "$output" "id:[email protected]"
+
 test_done
-- 
2.34.1

_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to