These are not really broken, but one of the messages is in reply to a
non-existent message. This currently causes the wrong message to be
chosen as root
---
 test/corpora/threading/ghost-root/child     | 9 +++++++++
 test/corpora/threading/ghost-root/fake-root | 9 +++++++++
 test/corpora/threading/ghost-root/real-root | 7 +++++++
 3 files changed, 25 insertions(+)
 create mode 100644 test/corpora/threading/ghost-root/child
 create mode 100644 test/corpora/threading/ghost-root/fake-root
 create mode 100644 test/corpora/threading/ghost-root/real-root

diff --git a/test/corpora/threading/ghost-root/child 
b/test/corpora/threading/ghost-root/child
new file mode 100644
index 00000000..a8dc245d
--- /dev/null
+++ b/test/corpora/threading/ghost-root/child
@@ -0,0 +1,9 @@
+From: Alice <[email protected]>
+To: Daniel <[email protected]>
+Subject: child message
+Message-ID: <[email protected]>
+In-Reply-To: <[email protected]>
+References:  <[email protected]>
+Date: Fri, 17 Jun 2016 22:14:41 -0400
+
+
diff --git a/test/corpora/threading/ghost-root/fake-root 
b/test/corpora/threading/ghost-root/fake-root
new file mode 100644
index 00000000..11928537
--- /dev/null
+++ b/test/corpora/threading/ghost-root/fake-root
@@ -0,0 +1,9 @@
+From: Mallory <[email protected]>
+To: Daniel <[email protected]>
+Subject: fake root message
+Message-ID: <[email protected]>
+In-Reply-to: <[email protected]>
+References:  <[email protected]> <[email protected]>
+Date: Thu, 16 Jun 2016 22:14:41 -0400
+
+This message has no reply-to
diff --git a/test/corpora/threading/ghost-root/real-root 
b/test/corpora/threading/ghost-root/real-root
new file mode 100644
index 00000000..8c4e59b3
--- /dev/null
+++ b/test/corpora/threading/ghost-root/real-root
@@ -0,0 +1,7 @@
+From: Alice <[email protected]>
+To: Daniel <[email protected]>
+Subject: root message
+Message-ID: <[email protected]>
+Date: Thu, 16 Jun 2016 22:14:41 -0400
+
+This message has no reply-to
-- 
2.18.0

_______________________________________________
notmuch mailing list
[email protected]
https://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to