]> git.notmuchmail.org Git - notmuch/commitdiff
test: add known broken test for indexing an In-Reply-To loop.
authorDavid Bremner <david@tethera.net>
Tue, 20 Mar 2018 21:22:35 +0000 (18:22 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 20 Apr 2018 14:23:31 +0000 (11:23 -0300)
This documents the bug discussed in

     id:87d10042pu.fsf@curie.anarc.at

test/T050-new.sh

index cd5223643725efa2170880c50e7e8fd1d6465c6e..b98549781d5302ec04d204fde1d2c24d36017ec7 100755 (executable)
@@ -354,4 +354,9 @@ exit status: 75
 EOF
 test_expect_equal_file EXPECTED OUTPUT
 
+add_email_corpus broken
+test_begin_subtest "reference loop does not crash"
+test_subtest_known_broken
+test_expect_code 0 "notmuch show --format=json id:mid-loop-12@example.org id:mid-loop-21@example.org > OUTPUT"
+
 test_done