[PATCH v6 2/3] test: emacs: expand subtest "Stashing in notmuch-show" wrt stashing...
authorPieter Praet <pieter@praet.org>
Sun, 19 Feb 2012 20:50:26 +0000 (21:50 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:44:43 +0000 (09:44 -0800)
7a/e3a5e7034b023cc0fc35b03aa27637801e0a24 [new file with mode: 0644]

diff --git a/7a/e3a5e7034b023cc0fc35b03aa27637801e0a24 b/7a/e3a5e7034b023cc0fc35b03aa27637801e0a24
new file mode 100644 (file)
index 0000000..2086f6d
--- /dev/null
@@ -0,0 +1,114 @@
+Return-Path: <pieter@praet.org>\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 3CB76431FC3\r
+       for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:52:55 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 3dUtDgQZ4sIT for <notmuch@notmuchmail.org>;\r
+       Sun, 19 Feb 2012 12:52:53 -0800 (PST)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 8FB71431FAF\r
+       for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:52:48 -0800 (PST)\r
+Received: by werp13 with SMTP id p13so3518433wer.26\r
+       for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:52:47 -0800 (PST)\r
+Received-SPF: pass (google.com: domain of pieter@praet.org designates\r
+       10.180.86.9 as permitted sender) client-ip=10.180.86.9; \r
+Authentication-Results: mr.google.com;\r
+       spf=pass (google.com: domain of pieter@praet.org\r
+       designates 10.180.86.9 as permitted sender)\r
+       smtp.mail=pieter@praet.org\r
+Received: from mr.google.com ([10.180.86.9])\r
+       by 10.180.86.9 with SMTP id l9mr11994963wiz.15.1329684767252 (num_hops\r
+       = 1); Sun, 19 Feb 2012 12:52:47 -0800 (PST)\r
+MIME-Version: 1.0\r
+Received: by 10.180.86.9 with SMTP id l9mr10047528wiz.15.1329684767100;\r
+       Sun, 19 Feb 2012 12:52:47 -0800 (PST)\r
+Received: from localhost (104.218-242-81.adsl-dyn.isp.belgacom.be.\r
+       [81.242.218.104])\r
+       by mx.google.com with ESMTPS id gf3sm9929415wib.6.2012.02.19.12.52.46\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sun, 19 Feb 2012 12:52:46 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: David Edmondson <dme@dme.org>\r
+Subject: [PATCH v6 2/3] test: emacs: expand subtest "Stashing in notmuch-show"\r
+       wrt stashing Mailing List Archive URIs\r
+Date: Sun, 19 Feb 2012 21:50:26 +0100\r
+Message-Id: <1329684627-10708-3-git-send-email-pieter@praet.org>\r
+X-Mailer: git-send-email 1.7.8.1\r
+In-Reply-To: <1329684627-10708-1-git-send-email-pieter@praet.org>\r
+References: <1327397873-20596-1-git-send-email-dme@dme.org>\r
+       <1329684627-10708-1-git-send-email-pieter@praet.org>\r
+X-Gm-Message-State:\r
+ ALoCoQnb4qkKOWNeII8tXIwkPD1TrBEQ6NKEJ9ozkrw0RPcBbDuwZqrIWqnYo0c4+1Rq2SsTPDBE\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\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: Sun, 19 Feb 2012 20:52:55 -0000\r
+\r
+`notmuch-show-stash-mlarchive-link' stashes a URI pointing to the current message\r
+at one of the MLAs configured in `notmuch-show-stash-mlarchive-link-alist'.\r
+\r
+Marked as "broken": fixed in next commit.\r
+---\r
+ test/emacs |    9 ++++++++-\r
+ 1 files changed, 8 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/test/emacs b/test/emacs\r
+index b74cfa9..1f213e3 100755\r
+--- a/test/emacs\r
++++ b/test/emacs\r
+@@ -384,6 +384,7 @@ test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.\r
+ test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-with-hidden-messages\r
+ \r
+ test_begin_subtest "Stashing in notmuch-show"\r
++test_subtest_known_broken\r
+ add_message '[date]="Sat, 01 Jan 2000 12:00:00 -0000"' \\r
+     '[from]="Some One <someone@somewhere.org>"' \\r
+     '[to]="Some One Else <notsomeone@somewhere.org>"' \\r
+@@ -402,9 +403,12 @@ test_emacs '(notmuch-show "id:\"bought\"")\r
+       (notmuch-show-stash-message-id-stripped)\r
+       (notmuch-show-stash-tags)\r
+       (notmuch-show-stash-filename)\r
++      (notmuch-show-stash-mlarchive-link "Gmane")\r
++      (notmuch-show-stash-mlarchive-link "MARC")\r
++      (notmuch-show-stash-mlarchive-link "Mail Archive, The")\r
+       (switch-to-buffer\r
+         (generate-new-buffer "*test-stashing*"))\r
+-      (dotimes (i 9)\r
++      (dotimes (i 12)\r
+         (yank)\r
+         (insert "\n")\r
+         (rotate-yank-pointer 1))\r
+@@ -420,6 +424,9 @@ id:"bought"\r
+ bought\r
+ inbox,stashtest\r
+ ${gen_msg_filename}\r
++http://mid.gmane.org/bought\r
++http://marc.info/?i=bought\r
++http://mail-archive.com/search?l=mid&q=bought\r
+ EOF\r
+ test_expect_equal_file OUTPUT EXPECTED\r
+ \r
+-- \r
+1.7.8.1\r
+\r