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:87k0e9o0pu....@tethera.net)
 test_expect_equal "$output" "id:87k0e9o0pu....@tethera.net"
 
+test_begin_subtest "id:87k0e9o0pu....@tethera.net 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:87k0e9o0pu....@tethera.net)
+test_expect_equal "$output" "id:87k0e9o0pu....@tethera.net"
+
 test_done
-- 
2.34.1

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org

Reply via email to