1 Return-Path: <bremner@tesseract.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 ACBF3431FC9
\r
6 for <notmuch@notmuchmail.org>; Sat, 25 Oct 2014 01:05:59 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 chBJsy69ZAYG for <notmuch@notmuchmail.org>;
\r
16 Sat, 25 Oct 2014 01:05:53 -0700 (PDT)
\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])
\r
18 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 57AE5431FBD
\r
21 for <notmuch@notmuchmail.org>; Sat, 25 Oct 2014 01:05:53 -0700 (PDT)
\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)
\r
23 (envelope-from <bremner@tesseract.cs.unb.ca>)
\r
24 id 1XhwMC-0007YD-Qg; Sat, 25 Oct 2014 05:05:52 -0300
\r
25 Received: (nullmailer pid 32549 invoked by uid 1000); Sat, 25 Oct 2014
\r
27 From: David Bremner <david@tethera.net>
\r
28 To: notmuch@notmuchmail.org
\r
29 Subject: [PATCH] test: kill '"filename": "signature.asc"' from json output
\r
30 Date: Sat, 25 Oct 2014 10:05:34 +0200
\r
31 Message-Id: <1414224334-32497-1-git-send-email-david@tethera.net>
\r
32 X-Mailer: git-send-email 2.1.1
\r
33 In-Reply-To: <1414223399-13128-1-git-send-email-david@tethera.net>
\r
34 References: <1414223399-13128-1-git-send-email-david@tethera.net>
\r
35 X-BeenThere: notmuch@notmuchmail.org
\r
36 X-Mailman-Version: 2.1.13
\r
38 List-Id: "Use and development of the notmuch mail system."
\r
39 <notmuch.notmuchmail.org>
\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
43 List-Post: <mailto:notmuch@notmuchmail.org>
\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
47 X-List-Received-Date: Sat, 25 Oct 2014 08:05:59 -0000
\r
49 This starts to appear with emacs24.4, so we can't easily have it in
\r
50 our expected output.
\r
52 test/test-lib.sh | 1 +
\r
53 1 file changed, 1 insertion(+)
\r
55 diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
56 index 17deaab..72559cc 100644
\r
57 --- a/test/test-lib.sh
\r
58 +++ b/test/test-lib.sh
\r
59 @@ -690,6 +690,7 @@ notmuch_json_show_sanitize ()
\r
61 -e 's|"id": "[^"]*",|"id": "XXXXX",|g' \
\r
62 -e 's|"Date": "Fri, 05 Jan 2001 [^"]*0000"|"Date": "GENERATED_DATE"|g' \
\r
63 + -e 's|"filename": "signature.asc",||g' \
\r
64 -e 's|"filename": "/[^"]*",|"filename": "YYYYY",|g' \
\r
65 -e 's|"timestamp": 97.......|"timestamp": 42|g'
\r