From 558ff46ef3598992be982a532b80a1beaca360e0 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sat, 4 Oct 2014 10:19:16 +2000 Subject: [PATCH] [PATCH 09/11] lib: Enable ghost messages feature --- 98/95ecd57519256726b0e806c21e7dccbface12d | 112 ++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 98/95ecd57519256726b0e806c21e7dccbface12d diff --git a/98/95ecd57519256726b0e806c21e7dccbface12d b/98/95ecd57519256726b0e806c21e7dccbface12d new file mode 100644 index 000000000..6c9b1fc4f --- /dev/null +++ b/98/95ecd57519256726b0e806c21e7dccbface12d @@ -0,0 +1,112 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 24A47431FC9 + for ; Fri, 3 Oct 2014 07:19:52 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id xwSVPefb1rQ8 for ; + Fri, 3 Oct 2014 07:19:46 -0700 (PDT) +Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu + [18.9.25.13]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id BEE53431FD6 + for ; Fri, 3 Oct 2014 07:19:29 -0700 (PDT) +X-AuditID: 1209190d-f79c06d000006f95-ef-542eb070749d +Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) + (using TLS with cipher AES256-SHA (256/256 bits)) + (Client did not present a certificate) + by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP + id 9D.ED.28565.070BE245; Fri, 3 Oct 2014 10:19:28 -0400 (EDT) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id s93EJPDb018559; + Fri, 3 Oct 2014 10:19:26 -0400 +Received: from drake.dyndns.org + (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com + [216.15.114.40]) (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s93EJLpb023324 + (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); + Fri, 3 Oct 2014 10:19:25 -0400 +Received: from amthrax by drake.dyndns.org with local (Exim 4.84) + (envelope-from ) + id 1Xa3hZ-0002KC-Ae; Fri, 03 Oct 2014 10:19:21 -0400 +From: Austin Clements +To: notmuch@notmuchmail.org +Subject: [PATCH 09/11] lib: Enable ghost messages feature +Date: Fri, 3 Oct 2014 10:19:16 -0400 +Message-Id: <1412345958-8278-10-git-send-email-aclements@csail.mit.edu> +X-Mailer: git-send-email 2.1.0 +In-Reply-To: <1412345958-8278-1-git-send-email-aclements@csail.mit.edu> +References: <1412345958-8278-1-git-send-email-aclements@csail.mit.edu> +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsUixCmqrVuwQS/EYP4pbovrN2cyOzB6PFt1 + izmAMYrLJiU1J7MstUjfLoErY8bsv8wF7dwVV7b9Z2pgnMjZxcjJISFgIvF6xSMmCFtM4sK9 + 9WxdjFwcQgKzmSQ2TPzCAuFsYJT48u8HE4Rzm0li+fqvUM4SRont62+ygvSzCehLrFg7CcwW + EZCW2Hl3NpDNwcEsoCbxp0sFJCwsYCnRvnUeI4jNIqAqMeXIJ3YQm1fAXeLGvXOMEGfISWzY + /R/M5gSKX7j7lA3EFhJwk1h1rJttAiP/AkaGVYyyKblVurmJmTnFqcm6xcmJeXmpRbpGermZ + JXqpKaWbGMFhI8m7g/HdQaVDjAIcjEo8vB9u6IYIsSaWFVfmHmKU5GBSEuWtXKwXIsSXlJ9S + mZFYnBFfVJqTWnyIUYKDWUmEd8FKoBxvSmJlVWpRPkxKmoNFSZx30w++ECGB9MSS1OzU1ILU + IpisDAeHkgRv+3qgRsGi1PTUirTMnBKENBMHJ8hwHqDhYDW8xQWJucWZ6RD5U4yKUuK8D9cB + JQRAEhmleXC9sLh+xSgO9IowryBIOw8wJcB1vwIazAQ0+J29LsjgkkSElFQD46JLSeG5LiZ/ + Ll6oOfxoZ1HdhOw3tWU9zzmyZv+b/0tM/dasqTvvMQnGLumeOc1pZlDzmdn5GVv3//+U5vg3 + +8/T/5Nq1l7jDRK9kqd6eKG3xiVPPw9X30DZXJGTntvXdT5WfeH0Uovb/Bkjr+1LLRGL1gdt + R+dqRcl+3+Y371VG5N6rO7QKe5RYijMSDbWYi4oTARWsTDvGAgAA +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Fri, 03 Oct 2014 14:19:52 -0000 + +From: Austin Clements + +This fixes the broken thread order test. +--- + lib/database-private.h | 2 +- + test/T260-thread-order.sh | 1 - + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/lib/database-private.h b/lib/database-private.h +index e2e4bc8..15e03cc 100644 +--- a/lib/database-private.h ++++ b/lib/database-private.h +@@ -166,7 +166,7 @@ struct _notmuch_database { + * databases will have it). */ + #define NOTMUCH_FEATURES_CURRENT \ + (NOTMUCH_FEATURE_FILE_TERMS | NOTMUCH_FEATURE_DIRECTORY_DOCS | \ +- NOTMUCH_FEATURE_BOOL_FOLDER) ++ NOTMUCH_FEATURE_BOOL_FOLDER | NOTMUCH_FEATURE_GHOSTS) + + /* Return the list of terms from the given iterator matching a prefix. + * The prefix will be stripped from the strings in the returned list. +diff --git a/test/T260-thread-order.sh b/test/T260-thread-order.sh +index b435d79..99f5833 100755 +--- a/test/T260-thread-order.sh ++++ b/test/T260-thread-order.sh +@@ -30,7 +30,6 @@ expected=$(for ((i = 0; i < $nthreads; i++)); do + test_expect_equal "$output" "$expected" + + test_begin_subtest "Messages with all parents get linked in all delivery orders" +-test_subtest_known_broken + # Here we do the same thing as the previous test, but each message + # references all of its parents. Since every message references the + # root of the thread, each thread should always be fully joined. This +-- +2.1.0 + -- 2.26.2