Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 9f / 70e8b4ea4dad07bf11b840febe7c288ca9e439
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 5927E431FAF\r
6         for <notmuch@notmuchmail.org>; Tue, 21 Feb 2012 08:06:05 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.1\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]\r
13         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 O0PtBpCV4Z3t for <notmuch@notmuchmail.org>;\r
17         Tue, 21 Feb 2012 08:06:01 -0800 (PST)\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
19         by olra.theworths.org (Postfix) with ESMTP id 9BA72431FAE\r
20         for <notmuch@notmuchmail.org>; Tue, 21 Feb 2012 08:06:01 -0800 (PST)\r
21 Received: from thor.loria.fr (thor.loria.fr [152.81.12.250])\r
22         by ks3536.kimsufi.com (Postfix) with ESMTPSA id 72BE86C000B;\r
23         Tue, 21 Feb 2012 17:06:00 +0100 (CET)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1329840360;\r
26         bh=O7xv1Km8W2iFZSi89ltLvc41ParGDtqbLNgiFNAIZdw=;\r
27         h=From:To:Subject:Date:Message-Id;\r
28         b=iphdEbQmK9i67pTtrXqo1SBgzJklPcKcUWJUJhF2PcGH9AbZUuA7s3iPCS/OV3BL0\r
29         Cp2sci6SnL5pvXtUXpO0kE/sFrRG+XhikpCvNDLwg4gZGS7Z+PSsXFWNRp+10zbxPN\r
30         61U5ea0bp/fhYfT5t5tRXs9xMOkm1DViN2ooJ+lI=\r
31 From: Thomas Jost <schnouki@schnouki.net>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH] Update crypto test for gmime 2.6.5\r
34 Date: Tue, 21 Feb 2012 17:05:43 +0100\r
35 Message-Id: <1329840343-10026-1-git-send-email-schnouki@schnouki.net>\r
36 X-Mailer: git-send-email 1.7.9.1\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: Tue, 21 Feb 2012 16:06:05 -0000\r
50 \r
51 gmime 2.6 had a bug [1] which made it impossible to tell why a signature\r
52 verification failed when the signer key was unavailable (empty "sigstatus" field\r
53 in the JSON output). Since 00b5623d the corresponding test is marked as broken\r
54 when using gmime 2.6 (2.4 is fine).\r
55 \r
56 The bug has been fixed in gmime 2.6.5. Consequently, the crypto test needs to be\r
57 adjusted so that it is only marked broken for gmime 2.6.4 and below.\r
58 \r
59 [1] https://bugzilla.gnome.org/show_bug.cgi?id=668085\r
60 ---\r
61 \r
62 Hello world,\r
63 \r
64 Here's a little update about gmime 2.6. The latest version (2.6.5)\r
65 fixes the little regression introduced in 2.6.\r
66 \r
67 In all honesty, I'm not sure adding such a workaround in the test\r
68 suite is worth the effort. If gmime 2.6.5 is quickly packaged by major\r
69 distros (it's already in Arch), we could as well make notmuch depend\r
70 on gmime >= 2.6.5. (One line to change in configure). Or we could just\r
71 stop trying to mark the test as broken and let it fail for buggy\r
72 versions of gmime.\r
73 \r
74 What do you think?\r
75 \r
76 Best regards,\r
77 Thomas\r
78 \r
79  test/crypto |    4 ++--\r
80  1 files changed, 2 insertions(+), 2 deletions(-)\r
81 \r
82 diff --git a/test/crypto b/test/crypto\r
83 index 1dbb60a..cbab216 100755\r
84 --- a/test/crypto\r
85 +++ b/test/crypto\r
86 @@ -104,8 +104,8 @@ test_expect_equal \\r
87      "$expected"\r
88  \r
89  test_begin_subtest "signature verification with signer key unavailable"\r
90 -# this is broken with current versions of gmime-2.6\r
91 -(ldd $(which notmuch) | grep -Fq gmime-2.6) && test_subtest_known_broken\r
92 +# this is broken with gmime-2.6.x for x <= 4\r
93 +ldd $(which notmuch) | grep -Fq gmime-2.6 && pkg-config --max-version=2.6.4 gmime-2.6 && test_subtest_known_broken\r
94  # move the gnupghome temporarily out of the way\r
95  mv "${GNUPGHOME}"{,.bak}\r
96  output=$(notmuch show --format=json --verify subject:"test signed message 001" \\r
97 -- \r
98 1.7.9.1\r
99 \r