]> git.notmuchmail.org Git - notmuch/blobdiff - test/T050-new.sh
lib: break reference loop by choosing arbitrary top level msg
[notmuch] / test / T050-new.sh
index cd5223643725efa2170880c50e7e8fd1d6465c6e..f3bfe7b159ab042d163dd1f22447948de4aafb14 100755 (executable)
@@ -354,4 +354,8 @@ exit status: 75
 EOF
 test_expect_equal_file EXPECTED OUTPUT
 
+add_email_corpus broken
+test_begin_subtest "reference loop does not crash"
+test_expect_code 0 "notmuch show --format=json id:mid-loop-12@example.org id:mid-loop-21@example.org > OUTPUT"
+
 test_done