1 Return-Path: <dmitry.kurochkin@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id DD003421192
\r
6 for <notmuch@notmuchmail.org>; Thu, 30 Jun 2011 21:55:44 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id MPVf3syRBVoq for <notmuch@notmuchmail.org>;
\r
17 Thu, 30 Jun 2011 21:55:44 -0700 (PDT)
\r
18 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 36D9142118E
\r
22 for <notmuch@notmuchmail.org>; Thu, 30 Jun 2011 21:55:44 -0700 (PDT)
\r
23 Received: by mail-bw0-f53.google.com with SMTP id 12so2682445bwg.26
\r
24 for <notmuch@notmuchmail.org>; Thu, 30 Jun 2011 21:55:43 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
27 bh=56EouyShzeSSRUv1EjR+I8RPe+nrl6kko5FCDJSAbBI=;
\r
28 b=CayIV+qMIADfHoDFxE/CjvwVbH3M5XK9Jfwu/JpID25ZlTLou2AHuOrpKCEA4K4cab
\r
29 29wF506VUe3Xe4GK1rR6QlhQ+FeB3s01iown7fzojvIB8RWEvG1JwxUnDjUAL5+eWdNU
\r
30 +FO69wEQPZx9qhu6FGrXgpXeU5+2Ac4i0KCQ8=
\r
31 Received: by 10.204.170.193 with SMTP id e1mr2463350bkz.136.1309496143856;
\r
32 Thu, 30 Jun 2011 21:55:43 -0700 (PDT)
\r
33 Received: from localhost ([91.144.186.21])
\r
34 by mx.google.com with ESMTPS id t9sm2647858bkn.20.2011.06.30.21.55.42
\r
35 (version=TLSv1/SSLv3 cipher=OTHER);
\r
36 Thu, 30 Jun 2011 21:55:43 -0700 (PDT)
\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH v2 4/7] test: `notmuch-show-advance-and-archive' with
\r
41 Date: Fri, 1 Jul 2011 08:55:19 +0400
\r
42 Message-Id: <1309496122-4965-5-git-send-email-dmitry.kurochkin@gmail.com>
\r
43 X-Mailer: git-send-email 1.7.5.4
\r
44 In-Reply-To: <1309496122-4965-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
45 References: <1309376558-26284-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
46 <1309496122-4965-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
47 X-BeenThere: notmuch@notmuchmail.org
\r
48 X-Mailman-Version: 2.1.13
\r
50 List-Id: "Use and development of the notmuch mail system."
\r
51 <notmuch.notmuchmail.org>
\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
55 List-Post: <mailto:notmuch@notmuchmail.org>
\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
59 X-List-Received-Date: Fri, 01 Jul 2011 04:55:45 -0000
\r
61 Add Emacs test to check that `notmuch-show-advance-and-archive'
\r
62 works for the last message in thread with invisible signature.
\r
64 test/emacs | 14 ++++++++++++++
\r
65 1 files changed, 14 insertions(+), 0 deletions(-)
\r
67 diff --git a/test/emacs b/test/emacs
\r
68 index 53f455a..708c504 100755
\r
71 @@ -347,4 +347,18 @@ test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.
\r
72 (test-visible-output)'
\r
73 test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-with-hidden-messages
\r
75 +test_begin_subtest 'notmuch-show-advance-and-archive with invisible signature'
\r
76 +message1='id:20091118010116.GC25380@dottiness.seas.harvard.edu'
\r
77 +message2='id:1258491078-29658-1-git-send-email-dottedmag@dottedmag.net'
\r
78 +test_emacs "(notmuch-search \"$message1 or $message2\")
\r
79 + (notmuch-test-wait)
\r
80 + (notmuch-search-show-thread)
\r
81 + (goto-char (point-max))
\r
83 + (notmuch-show-advance-and-archive)
\r
85 +test_emacs "(notmuch-show \"$message2\")
\r
86 + (test-output \"EXPECTED\")"
\r
87 +test_expect_equal_file OUTPUT EXPECTED
\r