[PATCH v2 4/7] test: `notmuch-show-advance-and-archive' with invisible signature
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Fri, 1 Jul 2011 04:55:19 +0000 (08:55 +0400)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:53 +0000 (09:38 -0800)
90/d92a4cd5bc87ad38a1d6c6b389eff583464f7c [new file with mode: 0644]

diff --git a/90/d92a4cd5bc87ad38a1d6c6b389eff583464f7c b/90/d92a4cd5bc87ad38a1d6c6b389eff583464f7c
new file mode 100644 (file)
index 0000000..b7b1b74
--- /dev/null
@@ -0,0 +1,92 @@
+Return-Path: <dmitry.kurochkin@gmail.com>\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 DD003421192\r
+       for <notmuch@notmuchmail.org>; Thu, 30 Jun 2011 21:55:44 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, 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 MPVf3syRBVoq for <notmuch@notmuchmail.org>;\r
+       Thu, 30 Jun 2011 21:55:44 -0700 (PDT)\r
+Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
+       [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 36D9142118E\r
+       for <notmuch@notmuchmail.org>; Thu, 30 Jun 2011 21:55:44 -0700 (PDT)\r
+Received: by mail-bw0-f53.google.com with SMTP id 12so2682445bwg.26\r
+       for <notmuch@notmuchmail.org>; Thu, 30 Jun 2011 21:55:43 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
+       bh=56EouyShzeSSRUv1EjR+I8RPe+nrl6kko5FCDJSAbBI=;\r
+       b=CayIV+qMIADfHoDFxE/CjvwVbH3M5XK9Jfwu/JpID25ZlTLou2AHuOrpKCEA4K4cab\r
+       29wF506VUe3Xe4GK1rR6QlhQ+FeB3s01iown7fzojvIB8RWEvG1JwxUnDjUAL5+eWdNU\r
+       +FO69wEQPZx9qhu6FGrXgpXeU5+2Ac4i0KCQ8=\r
+Received: by 10.204.170.193 with SMTP id e1mr2463350bkz.136.1309496143856;\r
+       Thu, 30 Jun 2011 21:55:43 -0700 (PDT)\r
+Received: from localhost ([91.144.186.21])\r
+       by mx.google.com with ESMTPS id t9sm2647858bkn.20.2011.06.30.21.55.42\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Thu, 30 Jun 2011 21:55:43 -0700 (PDT)\r
+From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 4/7] test: `notmuch-show-advance-and-archive' with\r
+       invisible signature\r
+Date: Fri,  1 Jul 2011 08:55:19 +0400\r
+Message-Id: <1309496122-4965-5-git-send-email-dmitry.kurochkin@gmail.com>\r
+X-Mailer: git-send-email 1.7.5.4\r
+In-Reply-To: <1309496122-4965-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+References: <1309376558-26284-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+       <1309496122-4965-1-git-send-email-dmitry.kurochkin@gmail.com>\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: Fri, 01 Jul 2011 04:55:45 -0000\r
+\r
+Add Emacs test to check that `notmuch-show-advance-and-archive'\r
+works for the last message in thread with invisible signature.\r
+---\r
+ test/emacs |   14 ++++++++++++++\r
+ 1 files changed, 14 insertions(+), 0 deletions(-)\r
+\r
+diff --git a/test/emacs b/test/emacs\r
+index 53f455a..708c504 100755\r
+--- a/test/emacs\r
++++ b/test/emacs\r
+@@ -347,4 +347,18 @@ test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.\r
+           (test-visible-output)'\r
+ test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-with-hidden-messages\r
\r
++test_begin_subtest 'notmuch-show-advance-and-archive with invisible signature'\r
++message1='id:20091118010116.GC25380@dottiness.seas.harvard.edu'\r
++message2='id:1258491078-29658-1-git-send-email-dottedmag@dottedmag.net'\r
++test_emacs "(notmuch-search \"$message1 or $message2\")\r
++          (notmuch-test-wait)\r
++          (notmuch-search-show-thread)\r
++          (goto-char (point-max))\r
++          (redisplay)\r
++          (notmuch-show-advance-and-archive)\r
++          (test-output)"\r
++test_emacs "(notmuch-show \"$message2\")\r
++          (test-output \"EXPECTED\")"\r
++test_expect_equal_file OUTPUT EXPECTED\r
++\r
+ test_done\r
+-- \r
+1.7.5.4\r
+\r