1 Return-Path: <schnouki@schnouki.net>
\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 CA7C7431FB6
\r
6 for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 09:48:50 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"
\r
12 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
13 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id IoOfLTX-R26l for <notmuch@notmuchmail.org>;
\r
18 Mon, 3 Oct 2011 09:48:50 -0700 (PDT)
\r
19 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])
\r
20 by olra.theworths.org (Postfix) with ESMTP id B8CC3429E30
\r
21 for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 09:48:45 -0700 (PDT)
\r
22 Received: from localhost.localdomain (thor.loria.fr [152.81.12.250])
\r
23 by ks3536.kimsufi.com (Postfix) with ESMTPSA id C9D386A06B7;
\r
24 Mon, 3 Oct 2011 18:48:44 +0200 (CEST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;
\r
26 s=key-schnouki; t=1317660524;
\r
27 bh=5B+wcXIIm++OmSqV2ie3Wgs2zdpnej0Oo91nvzW6GUY=;
\r
28 h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:
\r
29 In-Reply-To:References;
\r
30 b=c3TgS8zSGYlw1P7tOjeEXrhS7zEZ8quXGXAdUazI6Yhj8ZcIa60IljIrmPE9vZ3Mo
\r
31 t51TuGsZ9kklcoAVi2lRahZ6XA01AbgDOgtwZNbA3g+7i08sI3V2Dx3jGmqFFw1ZgV
\r
32 Oh+Fie4vvZqDm7IAGRqo3dSCd+mmlfYjGgCTaVyo=
\r
33 From: Thomas Jost <schnouki@schnouki.net>
\r
34 To: notmuch@notmuchmail.org
\r
35 Subject: [PATCH 09/13] test: `notmuch-show-advance-and-archive' with invisible
\r
37 Date: Mon, 3 Oct 2011 18:47:23 +0200
\r
38 Message-Id: <1317660447-27520-10-git-send-email-schnouki@schnouki.net>
\r
39 X-Mailer: git-send-email 1.7.6.4
\r
40 In-Reply-To: <1317660447-27520-1-git-send-email-schnouki@schnouki.net>
\r
41 References: <1317660447-27520-1-git-send-email-schnouki@schnouki.net>
\r
42 In-Reply-To: <871uuuywtt.fsf@convex-new.cs.unb.ca>
\r
43 References: <871uuuywtt.fsf@convex-new.cs.unb.ca>
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Mon, 03 Oct 2011 16:48:51 -0000
\r
58 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
60 Add Emacs test to check that `notmuch-show-advance-and-archive'
\r
61 works for the last message in thread with invisible signature.
\r
63 test/emacs | 14 ++++++++++++++
\r
64 1 files changed, 14 insertions(+), 0 deletions(-)
\r
66 diff --git a/test/emacs b/test/emacs
\r
67 index 50958ec..fddb5cf 100755
\r
70 @@ -373,4 +373,18 @@ test_emacs "(notmuch-show \"id:$id\") \
\r
71 (test-visible-output \"EXPECTED\")"
\r
72 test_expect_equal_file EMACS OUTPUT EXPECTED
\r
74 +test_begin_subtest 'notmuch-show-advance-and-archive with invisible signature'
\r
75 +message1='id:20091118010116.GC25380@dottiness.seas.harvard.edu'
\r
76 +message2='id:1258491078-29658-1-git-send-email-dottedmag@dottedmag.net'
\r
77 +test_emacs "(notmuch-search \"$message1 or $message2\")
\r
78 + (notmuch-test-wait)
\r
79 + (notmuch-search-show-thread)
\r
80 + (goto-char (point-max))
\r
82 + (notmuch-show-advance-and-archive)
\r
84 +test_emacs "(notmuch-show \"$message2\")
\r
85 + (test-output \"EXPECTED\")"
\r
86 +test_expect_equal_file EMACS OUTPUT EXPECTED
\r