From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 023986DE0350 for ; Sun, 8 Jul 2018 05:24:32 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[AWL=0.010, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LhO4w7D3Z5GA for ; Sun, 8 Jul 2018 05:24:30 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id DFFE06DE034D for ; Sun, 8 Jul 2018 05:24:29 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1fc8js-0000Kf-Tb; Sun, 08 Jul 2018 08:24:28 -0400 Received: (nullmailer pid 8762 invoked by uid 1000); Sun, 08 Jul 2018 12:24:22 -0000 From: David Bremner To: Gregor Zattler , notmuch@notmuchmail.org Subject: [PATCH 1/2] test: start threading test corpus Date: Sun, 8 Jul 2018 09:24:14 -0300 Message-Id: <20180708122415.8699-2-david@tethera.net> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180708122415.8699-1-david@tethera.net> References: <87efgmcb9y.fsf@len.workgroup> <20180708122415.8699-1-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2018 12:24:32 -0000 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 +To: Daniel +Subject: child message +Message-ID: +In-Reply-To: +References: +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 +To: Daniel +Subject: fake root message +Message-ID: +In-Reply-to: +References: +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 +To: Daniel +Subject: root message +Message-ID: +Date: Thu, 16 Jun 2016 22:14:41 -0400 + +This message has no reply-to -- 2.18.0