Re: [PATCH v2] emacs: Split the function notmuch-show-clean-address
[notmuch-archives.git] / 6f / 81377d0013da6bd906e2c3623967a439808541
1 Return-Path: <bremner@pivot.cs.unb.ca>\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 D0437429E2F\r
6         for <notmuch@notmuchmail.org>; Fri, 21 Oct 2011 12:48:11 -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: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 eWEHW2eNup-d for <notmuch@notmuchmail.org>;\r
16         Fri, 21 Oct 2011 12:48:11 -0700 (PDT)\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 2B716431FB6\r
21         for <notmuch@notmuchmail.org>; Fri, 21 Oct 2011 12:48:11 -0700 (PDT)\r
22 Received: from convex-new.cs.unb.ca ([131.202.13.154])\r
23         by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p9LJm4Qe002204;\r
24         Fri, 21 Oct 2011 16:48:07 -0300\r
25 Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.72)\r
26         (envelope-from <bremner@pivot.cs.unb.ca>)\r
27         id 1RHL4W-00016Z-Sq; Fri, 21 Oct 2011 16:48:04 -0300\r
28 From: David Bremner <david@tethera.net>\r
29 To: notmuch@notmuchmail.org\r
30 Subject: [PATCH 5/6] test/dump-restore: Fix quoting on grep\r
31 Date: Fri, 21 Oct 2011 16:47:56 -0300\r
32 Message-Id: <1319226477-4181-6-git-send-email-david@tethera.net>\r
33 X-Mailer: git-send-email 1.7.5.4\r
34 In-Reply-To: <1319226477-4181-1-git-send-email-david@tethera.net>\r
35 References: <1317317857-29636-1-git-send-email-thomas@schwinge.name>\r
36         <1319226477-4181-1-git-send-email-david@tethera.net>\r
37 Cc: David Bremner <bremner@debian.org>\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Fri, 21 Oct 2011 19:48:12 -0000\r
51 \r
52 From: David Bremner <bremner@debian.org>\r
53 \r
54 Thanks to Thomas Schwinge for noticing yet another place where quoting\r
55 matters. Since the shell translates \. to ., the regex passed to grep\r
56 is too generous without the quotes.\r
57 ---\r
58  test/dump-restore |    2 +-\r
59  1 files changed, 1 insertions(+), 1 deletions(-)\r
60 \r
61 diff --git a/test/dump-restore b/test/dump-restore\r
62 index 2f8dcc7..a6d6d65 100755\r
63 --- a/test/dump-restore\r
64 +++ b/test/dump-restore\r
65 @@ -69,7 +69,7 @@ test_expect_equal_file dump.expected dump-1-arg-dash.actual\r
66  # Note, we assume all messages from cworth have a message-id\r
67  # containing cworth.org\r
68  \r
69 -grep cworth\.org dump.expected > dump-cworth.expected\r
70 +grep 'cworth\.org' dump.expected > dump-cworth.expected\r
71  \r
72  test_begin_subtest "dump -- from:cworth"\r
73  notmuch dump -- from:cworth > dump-dash-cworth.actual\r
74 -- \r
75 1.7.5.4\r
76 \r