[PATCH 4/4] Mark broken author order tests as no longer broken.
authorAustin Clements <amdragon@MIT.EDU>
Wed, 17 Nov 2010 19:28:50 +0000 (14:28 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:32 +0000 (09:37 -0800)
40/c217158fdda1f8ae0e4437442ec3fa55aa09ab [new file with mode: 0644]

diff --git a/40/c217158fdda1f8ae0e4437442ec3fa55aa09ab b/40/c217158fdda1f8ae0e4437442ec3fa55aa09ab
new file mode 100644 (file)
index 0000000..3634319
--- /dev/null
@@ -0,0 +1,212 @@
+Return-Path: <amdragon@mit.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id EB8C240DEFC\r
+       for <notmuch@notmuchmail.org>; Wed, 17 Nov 2010 11:29:21 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id lVXRgx3zpUZc for <notmuch@notmuchmail.org>;\r
+       Wed, 17 Nov 2010 11:29:10 -0800 (PST)\r
+Received: from dmz-mailsec-scanner-8.mit.edu (DMZ-MAILSEC-SCANNER-8.MIT.EDU\r
+       [18.7.68.37])\r
+       by olra.theworths.org (Postfix) with ESMTP id 18F7740DEF0\r
+       for <notmuch@notmuchmail.org>; Wed, 17 Nov 2010 11:28:53 -0800 (PST)\r
+X-AuditID: 12074425-b7c98ae000000a04-fe-4ce42cf49a37\r
+Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])\r
+       by dmz-mailsec-scanner-8.mit.edu (Symantec Brightmail Gateway) with\r
+       SMTP id C2.47.02564.4FC24EC4; Wed, 17 Nov 2010 14:28:52 -0500 (EST)\r
+Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
+       by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id oAHJSpBc030948\r
+       for <notmuch@notmuchmail.org>; Wed, 17 Nov 2010 14:28:52 -0500\r
+Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
+       (authenticated bits=0)\r
+       (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+       by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id oAHJSoDD007715\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)\r
+       for <notmuch@notmuchmail.org>; Wed, 17 Nov 2010 14:28:51 -0500 (EST)\r
+Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.72)\r
+       (envelope-from <amdragon@mit.edu>) id 1PIngY-0001Eg-T6\r
+       for notmuch@notmuchmail.org; Wed, 17 Nov 2010 14:28:50 -0500\r
+Date: Wed, 17 Nov 2010 14:28:50 -0500\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 4/4] Mark broken author order tests as no longer broken.\r
+Message-ID: <20101117192850.GV2439@mit.edu>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+User-Agent: Mutt/1.5.20 (2009-06-14)\r
+X-Brightmail-Tracker: AAAAAA==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 17 Nov 2010 19:29:22 -0000\r
+\r
+Update author order in Emacs tests to reflect correct order.\r
+---\r
+ test/author-order                                  |   10 ++++----\r
+ test/emacs                                         |    4 +-\r
+ .../emacs.expected-output/notmuch-hello-view-inbox |   26 ++++++++++----------\r
+ .../emacs.expected-output/notmuch-search-tag-inbox |   26 ++++++++++----------\r
+ 4 files changed, 33 insertions(+), 33 deletions(-)\r
+\r
+diff --git a/test/author-order b/test/author-order\r
+index 2ddc91c..d114992 100755\r
+--- a/test/author-order\r
++++ b/test/author-order\r
+@@ -19,11 +19,11 @@ test_expect_equal "$output" "Added 1 new message to the database."\r
\r
+ test_begin_subtest "Searching when all three messages match"\r
+ output=$(notmuch search findme | notmuch_search_sanitize)\r
+-test_expect_equal_failure "$output" "thread:XXX   2000-01-01 [3/3] User, User1, User2; author-reorder-threadtest (inbox unread)"\r
++test_expect_equal "$output" "thread:XXX   2000-01-01 [3/3] User, User1, User2; author-reorder-threadtest (inbox unread)"\r
\r
+ test_begin_subtest "Searching when two messages match"\r
+ output=$(notmuch search User1 or User2 | notmuch_search_sanitize)\r
+-test_expect_equal_failure "$output" "thread:XXX   2000-01-01 [2/3] User1, User2| User; author-reorder-threadtest (inbox unread)"\r
++test_expect_equal "$output" "thread:XXX   2000-01-01 [2/3] User1, User2| User; author-reorder-threadtest (inbox unread)"\r
\r
+ test_begin_subtest "Searching when only one message matches"\r
+ output=$(notmuch search User2 | notmuch_search_sanitize)\r
+@@ -40,7 +40,7 @@ test_expect_equal "$output" "Added 1 new message to the database."\r
\r
+ test_begin_subtest "Searching when all four messages match"\r
+ output=$(notmuch search findme | notmuch_search_sanitize)\r
+-test_expect_equal_failure "$output" "thread:XXX   2000-01-01 [4/4] User, User1, User2; author-reorder-threadtest (inbox unread)"\r
++test_expect_equal "$output" "thread:XXX   2000-01-01 [4/4] User, User1, User2; author-reorder-threadtest (inbox unread)"\r
\r
+ test_begin_subtest "Adding non-monotonic child message"\r
+ generate_message [body]=findme "[in-reply-to]=\<new-parent-id\>" [subject]=author-reorder-threadtest '[from]="User0 <user0@example.com>"' '[date]="Sat, 01 Jan 2000 11:00:00 -0000"'\r
+@@ -49,10 +49,10 @@ test_expect_equal "$output" "Added 1 new message to the database."\r
\r
+ test_begin_subtest "Searching non-monotonic messages (oldest-first)"\r
+ output=$(notmuch search --sort=oldest-first findme | notmuch_search_sanitize)\r
+-test_expect_equal_failure "$output" "thread:XXX   2000-01-01 [5/5] User0, User, User1, User2; author-reorder-threadtest (inbox unread)"\r
++test_expect_equal "$output" "thread:XXX   2000-01-01 [5/5] User0, User, User1, User2; author-reorder-threadtest (inbox unread)"\r
\r
+ test_begin_subtest "Searching non-monotonic messages (newest-first)"\r
+ output=$(notmuch search --sort=newest-first findme | notmuch_search_sanitize)\r
+-test_expect_equal_failure "$output" "thread:XXX   2000-01-01 [5/5] User0, User, User1, User2; author-reorder-threadtest (inbox unread)"\r
++test_expect_equal "$output" "thread:XXX   2000-01-01 [5/5] User0, User, User1, User2; author-reorder-threadtest (inbox unread)"\r
\r
+ test_done\r
+diff --git a/test/emacs b/test/emacs\r
+index fd5ae07..75dec89 100755\r
+--- a/test/emacs\r
++++ b/test/emacs\r
+@@ -24,12 +24,12 @@ test_expect_equal "$output" "$expected"\r
+ test_begin_subtest "Basic notmuch-search view in emacs"\r
+ output=$(test_emacs '(notmuch-search "tag:inbox") (notmuch-test-wait) (message (buffer-string))' 2>&1)\r
+ expected=$(cat $EXPECTED/notmuch-search-tag-inbox)\r
+-test_expect_equal_failure "$output" "$expected"\r
++test_expect_equal "$output" "$expected"\r
\r
+ test_begin_subtest "Navigation of notmuch-hello to search results"\r
+ output=$(test_emacs '(notmuch-hello) (goto-char (point-min)) (re-search-forward "inbox") (widget-button-press (point)) (notmuch-test-wait) (message (buffer-string))' 2>&1)\r
+ expected=$(cat $EXPECTED/notmuch-hello-view-inbox)\r
+-test_expect_equal_failure "$output" "$expected"\r
++test_expect_equal "$output" "$expected"\r
\r
+ test_begin_subtest "Basic notmuch-show view in emacs"\r
+ maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)\r
+diff --git a/test/emacs.expected-output/notmuch-hello-view-inbox b/test/emacs.expected-output/notmuch-hello-view-inbox\r
+index 3ba2b29..ef45248 100644\r
+--- a/test/emacs.expected-output/notmuch-hello-view-inbox\r
++++ b/test/emacs.expected-output/notmuch-hello-view-inbox\r
+@@ -1,23 +1,23 @@\r
+-  2009-11-17 [5/5]   Carl Worth, Keith Packard, Mikhail Gusarov [notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)\r
+-  2009-11-17 [7/7]   Carl Worth, Lars Kellogg-Stedman, Keith Packard, Mikhail Gusarov [notmuch] Working with Maildir storage? (inbox unread)\r
+-  2009-11-17 [2/2]   Carl Worth, Alex Botero-Lowry [notmuch] preliminary FreeBSD support (attachment inbox unread)\r
++  2009-11-17 [5/5]   Mikhail Gusarov, Carl Worth, Keith Packard [notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)\r
++  2009-11-17 [7/7]   Lars Kellogg-Stedman, Mikhail Gusarov, Keith Packard, Carl Worth [notmuch] Working with Maildir storage? (inbox unread)\r
++  2009-11-17 [2/2]   Alex Botero-Lowry, Carl Worth [notmuch] preliminary FreeBSD support (attachment inbox unread)\r
+   2009-11-17 [1/1]   Mikhail Gusarov      [notmuch] [PATCH] Handle rename of message file (inbox unread)\r
+-  2009-11-17 [2/2]   Carl Worth, Keith Packard [notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)\r
+-  2009-11-17 [2/2]   Carl Worth, Jan Janak [notmuch] [PATCH] Older versions of install do not support -C. (inbox unread)\r
+-  2009-11-17 [3/3]   Carl Worth, Jan Janak [notmuch] What a great idea! (inbox unread)\r
+-  2009-11-17 [3/3]   Carl Worth, Keith Packard, Israel Herraiz [notmuch] New to the list (inbox unread)\r
+-  2009-11-17 [3/3]   Carl Worth, Keith Packard, Adrian Perez de Castro [notmuch] Introducing myself (inbox unread)\r
+-  2009-11-17 [3/3]   Carl Worth, Keith Packard, Aron Griffis [notmuch] archive (inbox unread)\r
+-  2009-11-17 [2/2]   Carl Worth, Ingmar Vanhassel [notmuch] [PATCH] Typsos (inbox unread)\r
+-  2009-11-18 [2/2]   Carl Worth, Alex Botero-Lowry [notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment inbox unread)\r
++  2009-11-17 [2/2]   Keith Packard, Carl Worth [notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)\r
++  2009-11-17 [2/2]   Jan Janak, Carl Worth [notmuch] [PATCH] Older versions of install do not support -C. (inbox unread)\r
++  2009-11-17 [3/3]   Jan Janak, Carl Worth [notmuch] What a great idea! (inbox unread)\r
++  2009-11-17 [3/3]   Israel Herraiz, Keith Packard, Carl Worth [notmuch] New to the list (inbox unread)\r
++  2009-11-17 [3/3]   Adrian Perez de Castro, Keith Packard, Carl Worth [notmuch] Introducing myself (inbox unread)\r
++  2009-11-17 [3/3]   Aron Griffis, Keith Packard, Carl Worth [notmuch] archive (inbox unread)\r
++  2009-11-17 [2/2]   Ingmar Vanhassel, Carl Worth [notmuch] [PATCH] Typsos (inbox unread)\r
++  2009-11-18 [2/2]   Alex Botero-Lowry, Carl Worth [notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment inbox unread)\r
+   2009-11-18 [2/2]   Lars Kellogg-Stedman [notmuch] "notmuch help" outputs to stderr? (attachment inbox unread)\r
+   2009-11-18 [1/1]   Stewart Smith        [notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox unread)\r
+   2009-11-18 [1/1]   Stewart Smith        [notmuch] [PATCH 2/2] Read mail directory in inode number order (inbox unread)\r
+   2009-11-18 [1/1]   Stewart Smith        [notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox unread)\r
+-  2009-11-18 [4/4]   Alexander Botero-Lowry, Jjgod Jiang [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)\r
++  2009-11-18 [4/4]   Jjgod Jiang, Alexander Botero-Lowry [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)\r
+   2009-11-18 [1/1]   Jan Janak            [notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox unread)\r
+   2009-11-18 [1/1]   Rolland Santimano    [notmuch] Link to mailing list archives ? (inbox unread)\r
+   2009-11-18 [1/1]   Alexander Botero-Lowry [notmuch] request for pull (inbox unread)\r
+-  2009-11-18 [2/2]   Alexander Botero-Lowry, Keith Packard [notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)\r
++  2009-11-18 [2/2]   Keith Packard, Alexander Botero-Lowry [notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)\r
+   2009-11-18 [1/1]   Chris Wilson         [notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox unread)\r
+ End of search results.\r
+diff --git a/test/emacs.expected-output/notmuch-search-tag-inbox b/test/emacs.expected-output/notmuch-search-tag-inbox\r
+index 146f63a..71cd33c 100644\r
+--- a/test/emacs.expected-output/notmuch-search-tag-inbox\r
++++ b/test/emacs.expected-output/notmuch-search-tag-inbox\r
+@@ -1,17 +1,17 @@\r
+   2009-11-18 [1/1]   Chris Wilson         [notmuch] [PATCH 1/2] Makefile: evaluate pkg-config once (inbox unread)\r
+-  2009-11-18 [2/2]   Carl Worth, Alex Botero-Lowry [notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment inbox unread)\r
+-  2009-11-18 [2/2]   Carl Worth, Ingmar Vanhassel [notmuch] [PATCH] Typsos (inbox unread)\r
+-  2009-11-18 [3/3]   Carl Worth, Keith Packard, Adrian Perez de Castro [notmuch] Introducing myself (inbox unread)\r
+-  2009-11-18 [3/3]   Carl Worth, Keith Packard, Israel Herraiz [notmuch] New to the list (inbox unread)\r
+-  2009-11-18 [3/3]   Carl Worth, Jan Janak [notmuch] What a great idea! (inbox unread)\r
+-  2009-11-18 [2/2]   Carl Worth, Jan Janak [notmuch] [PATCH] Older versions of install do not support -C. (inbox unread)\r
+-  2009-11-18 [3/3]   Carl Worth, Keith Packard, Aron Griffis [notmuch] archive (inbox unread)\r
+-  2009-11-18 [2/2]   Carl Worth, Keith Packard [notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)\r
+-  2009-11-18 [7/7]   Carl Worth, Lars Kellogg-Stedman, Keith Packard, Mikhail Gusarov [notmuch] Working with Maildir storage? (inbox unread)\r
+-  2009-11-18 [5/5]   Carl Worth, Keith Packard, Mikhail Gusarov [notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)\r
+-  2009-11-18 [2/2]   Alexander Botero-Lowry, Keith Packard [notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)\r
++  2009-11-18 [2/2]   Alex Botero-Lowry, Carl Worth [notmuch] [PATCH] Error out if no query is supplied to search instead of going into an infinite loop (attachment inbox unread)\r
++  2009-11-18 [2/2]   Ingmar Vanhassel, Carl Worth [notmuch] [PATCH] Typsos (inbox unread)\r
++  2009-11-18 [3/3]   Adrian Perez de Castro, Keith Packard, Carl Worth [notmuch] Introducing myself (inbox unread)\r
++  2009-11-18 [3/3]   Israel Herraiz, Keith Packard, Carl Worth [notmuch] New to the list (inbox unread)\r
++  2009-11-18 [3/3]   Jan Janak, Carl Worth [notmuch] What a great idea! (inbox unread)\r
++  2009-11-18 [2/2]   Jan Janak, Carl Worth [notmuch] [PATCH] Older versions of install do not support -C. (inbox unread)\r
++  2009-11-18 [3/3]   Aron Griffis, Keith Packard, Carl Worth [notmuch] archive (inbox unread)\r
++  2009-11-18 [2/2]   Keith Packard, Carl Worth [notmuch] [PATCH] Make notmuch-show 'X' (and 'x') commands remove inbox (and unread) tags (inbox unread)\r
++  2009-11-18 [7/7]   Lars Kellogg-Stedman, Mikhail Gusarov, Keith Packard, Carl Worth [notmuch] Working with Maildir storage? (inbox unread)\r
++  2009-11-18 [5/5]   Mikhail Gusarov, Carl Worth, Keith Packard [notmuch] [PATCH 1/2] Close message file after parsing message headers (inbox unread)\r
++  2009-11-18 [2/2]   Keith Packard, Alexander Botero-Lowry [notmuch] [PATCH] Create a default notmuch-show-hook that highlights URLs and uses word-wrap (inbox unread)\r
+   2009-11-18 [1/1]   Alexander Botero-Lowry [notmuch] request for pull (inbox unread)\r
+-  2009-11-18 [4/4]   Alexander Botero-Lowry, Jjgod Jiang [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)\r
++  2009-11-18 [4/4]   Jjgod Jiang, Alexander Botero-Lowry [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)\r
+   2009-11-18 [1/1]   Rolland Santimano    [notmuch] Link to mailing list archives ? (inbox unread)\r
+   2009-11-18 [1/1]   Jan Janak            [notmuch] [PATCH] notmuch new: Support for conversion of spool subdirectories into tags (inbox unread)\r
+   2009-11-18 [1/1]   Stewart Smith        [notmuch] [PATCH] count_files: sort directory in inode order before statting (inbox unread)\r
+@@ -19,5 +19,5 @@\r
+   2009-11-18 [1/1]   Stewart Smith        [notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++ libs. (inbox unread)\r
+   2009-11-18 [2/2]   Lars Kellogg-Stedman [notmuch] "notmuch help" outputs to stderr? (attachment inbox unread)\r
+   2009-11-17 [1/1]   Mikhail Gusarov      [notmuch] [PATCH] Handle rename of message file (inbox unread)\r
+-  2009-11-17 [2/2]   Carl Worth, Alex Botero-Lowry [notmuch] preliminary FreeBSD support (attachment inbox unread)\r
++  2009-11-17 [2/2]   Alex Botero-Lowry, Carl Worth [notmuch] preliminary FreeBSD support (attachment inbox unread)\r
+ End of search results.\r
+-- \r
+1.7.2.3\r
+\r