From: David Edmondson Date: Thu, 26 Jan 2012 18:16:29 +0000 (+0000) Subject: [PATCH 2/2] test: Update tests for new 'Tags' header. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=efb6a3825d068355ed690a7fd0b27dfad863dbb2;p=notmuch-archives.git [PATCH 2/2] test: Update tests for new 'Tags' header. --- diff --git a/0a/e55cae18ddf04f59cacdbee8c9e60d0ba7b1d3 b/0a/e55cae18ddf04f59cacdbee8c9e60d0ba7b1d3 new file mode 100644 index 000000000..2ae51cd65 --- /dev/null +++ b/0a/e55cae18ddf04f59cacdbee8c9e60d0ba7b1d3 @@ -0,0 +1,272 @@ +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 79FD5431FD6 + for ; Thu, 26 Jan 2012 10:16:41 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 XOZXb1ETuWZf for ; + Thu, 26 Jan 2012 10:16:38 -0800 (PST) +Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com + [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + AB930431FAF for ; Thu, 26 Jan 2012 10:16:36 -0800 + (PST) +Received: by wgbdt12 with SMTP id dt12so816617wgb.2 + for ; Thu, 26 Jan 2012 10:16:34 -0800 (PST) +Received: by 10.180.83.104 with SMTP id p8mr6281194wiy.4.1327601793865; + Thu, 26 Jan 2012 10:16:33 -0800 (PST) +Received: from hotblack-desiato.hh.sledj.net + (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) + by mx.google.com with ESMTPS id m8sm14966901wia.11.2012.01.26.10.16.32 + (version=TLSv1/SSLv3 cipher=OTHER); + Thu, 26 Jan 2012 10:16:32 -0800 (PST) +Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) + id DC335A0502; Thu, 26 Jan 2012 18:16:30 +0000 (GMT) +From: David Edmondson +To: notmuch@notmuchmail.org +Subject: [PATCH 2/2] test: Update tests for new 'Tags' header. +Date: Thu, 26 Jan 2012 18:16:29 +0000 +Message-Id: <1327601789-6040-3-git-send-email-dme@dme.org> +X-Mailer: git-send-email 1.7.8.3 +In-Reply-To: <1327601789-6040-1-git-send-email-dme@dme.org> +References: <1327601789-6040-1-git-send-email-dme@dme.org> +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: Thu, 26 Jan 2012 18:16:42 -0000 + +--- + test/emacs | 3 +++ + .../notmuch-show-thread-maildir-storage | 7 +++++++ + ...hread-maildir-storage-with-fourfold-indentation | 7 +++++++ + ...show-thread-maildir-storage-without-indentation | 7 +++++++ + 4 files changed, 24 insertions(+), 0 deletions(-) + +diff --git a/test/emacs b/test/emacs +index f150d95..eda5438 100755 +--- a/test/emacs ++++ b/test/emacs +@@ -82,6 +82,7 @@ cat <EXPECTED + Subject: message-with-invalid-from + To: Notmuch Test Suite + Date: Fri, 05 Jan 2001 15:43:57 +0000 ++Tags: inbox + + This is just a test message (#1) + EOF +@@ -332,6 +333,7 @@ echo "Notmuch Test Suite (2001-01-05) (inbox) + Subject: The problem with top-posting + To: Notmuch Test Suite + Date: Fri, 05 Jan 2001 15:43:57 +0000 ++Tags: inbox + + A: Because it messes up the order in which people normally read text. + Q: Why is top-posting such a bad thing? +@@ -341,6 +343,7 @@ Top Poster (2001-01-05) (inbox unread) + Subject: Re: The problem with top-posting + To: Notmuch Test Suite + Date: Fri, 05 Jan 2001 15:43:57 +0000 ++Tags: inbox unread + + Thanks for the advice! I will be sure to put it to good use. + +diff --git a/test/emacs.expected-output/notmuch-show-thread-maildir-storage b/test/emacs.expected-output/notmuch-show-thread-maildir-storage +index cdbfa1d..3e7d3fb 100644 +--- a/test/emacs.expected-output/notmuch-show-thread-maildir-storage ++++ b/test/emacs.expected-output/notmuch-show-thread-maildir-storage +@@ -2,6 +2,7 @@ Lars Kellogg-Stedman (2009-11-17) (inbox signed) + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 14:00:54 -0500 ++Tags: inbox signed + + [ multipart/mixed ] + [ multipart/signed ] +@@ -42,6 +43,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + Subject: Re: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Wed, 18 Nov 2009 01:02:38 +0600 ++ Tags: inbox signed unread + + [ multipart/mixed ] + [ multipart/signed ] +@@ -74,6 +76,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + To: Mikhail Gusarov + Cc: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 15:33:01 -0500 ++ Tags: inbox signed unread + + [ multipart/mixed ] + [ multipart/signed ] +@@ -105,6 +108,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Wed, 18 Nov 2009 02:50:48 +0600 ++ Tags: inbox unread + + Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu + did gyre and gimble: +@@ -133,6 +137,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 13:24:13 -0800 ++ Tags: inbox unread + + On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman wrote: +@@ -156,6 +161,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + To: Keith Packard + Cc: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 19:50:40 -0500 ++ Tags: inbox signed unread + + [ multipart/mixed ] + [ multipart/signed ] +@@ -182,6 +188,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Wed, 18 Nov 2009 02:08:10 -0800 ++ Tags: inbox unread + + On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman wrote: +diff --git a/test/emacs.expected-output/notmuch-show-thread-maildir-storage-with-fourfold-indentation b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-with-fourfold-indentation +index b0bf93e..6245c2e 100644 +--- a/test/emacs.expected-output/notmuch-show-thread-maildir-storage-with-fourfold-indentation ++++ b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-with-fourfold-indentation +@@ -2,6 +2,7 @@ Lars Kellogg-Stedman (2009-11-17) (inbox signed) + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 14:00:54 -0500 ++Tags: inbox signed + + [ multipart/mixed ] + [ multipart/signed ] +@@ -42,6 +43,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + Subject: Re: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Wed, 18 Nov 2009 01:02:38 +0600 ++ Tags: inbox signed unread + + [ multipart/mixed ] + [ multipart/signed ] +@@ -74,6 +76,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + To: Mikhail Gusarov + Cc: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 15:33:01 -0500 ++ Tags: inbox signed unread + + [ multipart/mixed ] + [ multipart/signed ] +@@ -105,6 +108,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Wed, 18 Nov 2009 02:50:48 +0600 ++ Tags: inbox unread + + Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu + did gyre and gimble: +@@ -133,6 +137,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 13:24:13 -0800 ++ Tags: inbox unread + + On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman wrote: +@@ -156,6 +161,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + To: Keith Packard + Cc: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 19:50:40 -0500 ++ Tags: inbox signed unread + + [ multipart/mixed ] + [ multipart/signed ] +@@ -182,6 +188,7 @@ http://notmuchmail.org/mailman/listinfo/notmuch + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Wed, 18 Nov 2009 02:08:10 -0800 ++ Tags: inbox unread + + On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman wrote: +diff --git a/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation +index 08de8b5..17214f7 100644 +--- a/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation ++++ b/test/emacs.expected-output/notmuch-show-thread-maildir-storage-without-indentation +@@ -2,6 +2,7 @@ Lars Kellogg-Stedman (2009-11-17) (inbox signed) + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 14:00:54 -0500 ++Tags: inbox signed + + [ multipart/mixed ] + [ multipart/signed ] +@@ -42,6 +43,7 @@ Mikhail Gusarov (2009-11-17) (inbox signed unread) + Subject: Re: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Wed, 18 Nov 2009 01:02:38 +0600 ++Tags: inbox signed unread + + [ multipart/mixed ] + [ multipart/signed ] +@@ -74,6 +76,7 @@ Subject: Re: [notmuch] Working with Maildir storage? + To: Mikhail Gusarov + Cc: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 15:33:01 -0500 ++Tags: inbox signed unread + + [ multipart/mixed ] + [ multipart/signed ] +@@ -105,6 +108,7 @@ Mikhail Gusarov (2009-11-17) (inbox unread) + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Wed, 18 Nov 2009 02:50:48 +0600 ++Tags: inbox unread + + Twas brillig at 15:33:01 17.11.2009 UTC-05 when lars at seas.harvard.edu + did gyre and gimble: +@@ -133,6 +137,7 @@ Keith Packard (2009-11-17) (inbox unread) + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 13:24:13 -0800 ++Tags: inbox unread + + On Tue, 17 Nov 2009 15:33:01 -0500, Lars Kellogg-Stedman wrote: +@@ -156,6 +161,7 @@ Subject: Re: [notmuch] Working with Maildir storage? + To: Keith Packard + Cc: notmuch@notmuchmail.org + Date: Tue, 17 Nov 2009 19:50:40 -0500 ++Tags: inbox signed unread + + [ multipart/mixed ] + [ multipart/signed ] +@@ -182,6 +188,7 @@ Carl Worth (2009-11-18) (inbox unread) + Subject: [notmuch] Working with Maildir storage? + To: notmuch@notmuchmail.org + Date: Wed, 18 Nov 2009 02:08:10 -0800 ++Tags: inbox unread + + On Tue, 17 Nov 2009 14:00:54 -0500, Lars Kellogg-Stedman wrote: +-- +1.7.8.3 +