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