[PATCH 3/4] test: add S/MIME signature verification test for notmuch CLI
[notmuch-archives.git] / 34 / d2462d5d0022b37a7c91f3977e42961ecb48c3
1 Return-Path: <tomi.ollila@iki.fi>\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 199D2431FB6\r
6         for <notmuch@notmuchmail.org>; Sun, 21 Sep 2014 08:25:28 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 0Uv2nD50o8Lu for <notmuch@notmuchmail.org>;\r
16         Sun, 21 Sep 2014 08:25:20 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 8DD97431FAE\r
19         for <notmuch@notmuchmail.org>; Sun, 21 Sep 2014 08:25:20 -0700 (PDT)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id E3A2E100033;\r
22         Sun, 21 Sep 2014 18:24:53 +0300 (EEST)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH] test/emacs: globally force the html renderer to html2text\r
26 In-Reply-To: <1411191695-21933-1-git-send-email-david@tethera.net>\r
27 References: <1411191695-21933-1-git-send-email-david@tethera.net>\r
28 User-Agent: Notmuch/0.18.1+97~g6c845ef (http://notmuchmail.org) Emacs/24.3.1\r
29         (x86_64-unknown-linux-gnu)\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
31         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
32         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
33 Date: Sun, 21 Sep 2014 18:24:53 +0300\r
34 Message-ID: <m2bnq9c7y2.fsf@guru.guru-group.fi>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Sun, 21 Sep 2014 15:25:28 -0000\r
50 \r
51 On Sat, Sep 20 2014, David Bremner <david@tethera.net> wrote:\r
52 \r
53 > Previously we did this for a single test, but some other proposed\r
54 > tests ( id:1398105468-14317-3-git-send-email-amdragon@mit.edu ) show\r
55 > similar breakage when switching renderers.\r
56 \r
57 LGTM.\r
58 \r
59 Tomi\r
60 \r
61 PS: in that file we don't seem to have unified style with comment\r
62 capitalization, trailing periods and newlines between comment and code.\r
63 \r
64 > ---\r
65 >  test/T310-emacs.sh | 2 +-\r
66 >  test/test-lib.el   | 5 +++++\r
67 >  2 files changed, 6 insertions(+), 1 deletion(-)\r
68 >\r
69 > diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh\r
70 > index ac966e5..c302402 100755\r
71 > --- a/test/T310-emacs.sh\r
72 > +++ b/test/T310-emacs.sh\r
73 > @@ -483,7 +483,7 @@ test_expect_equal_file OUTPUT EXPECTED\r
74 >  test_begin_subtest "Reply within emacs to an html-only message"\r
75 >  add_message '[content-type]="text/html"' \\r
76 >           '[body]="Hi,<br />This is an <b>HTML</b> test message.<br /><br />OK?"'\r
77 > -test_emacs "(let ((message-hidden-headers '()) (mm-text-html-renderer 'html2text))\r
78 > +test_emacs "(let ((message-hidden-headers '()))\r
79 >           (notmuch-show \"id:${gen_msg_id}\")\r
80 >           (notmuch-show-reply)\r
81 >           (test-output))"\r
82 > diff --git a/test/test-lib.el b/test/test-lib.el\r
83 > index 36afe63..bbc03cb 100644\r
84 > --- a/test/test-lib.el\r
85 > +++ b/test/test-lib.el\r
86 > @@ -181,3 +181,8 @@ nothing."\r
87 >  ;; suite\r
88 >  (setq notmuch-tag-deleted-formats\r
89 >        '((".*" nil)))\r
90 > +\r
91 > +;; force a common html renderer, to avoid test variations between\r
92 > +;; environments\r
93 > +\r
94 > +(setq mm-text-html-renderer 'html2text)\r
95 > -- \r
96 > 2.1.0\r
97 >\r
98 > _______________________________________________\r
99 > notmuch mailing list\r
100 > notmuch@notmuchmail.org\r
101 > http://notmuchmail.org/mailman/listinfo/notmuch\r