1 Return-Path: <bremner@tethera.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 arlo.cworth.org (Postfix) with ESMTP id 1DB056DE014A
\r
6 for <notmuch@notmuchmail.org>; Fri, 29 Jan 2016 03:53:37 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.309 tagged_above=-999 required=5 tests=[AWL=0.242,
\r
12 RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 87YuxaMbxrwH for <notmuch@notmuchmail.org>;
\r
16 Fri, 29 Jan 2016 03:53:35 -0800 (PST)
\r
17 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])
\r
18 by arlo.cworth.org (Postfix) with ESMTPS id 6F94A6DE0C11
\r
19 for <notmuch@notmuchmail.org>; Fri, 29 Jan 2016 03:53:35 -0800 (PST)
\r
20 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)
\r
21 (envelope-from <bremner@tethera.net>)
\r
22 id 1aP7bj-0001vq-66; Fri, 29 Jan 2016 06:52:55 -0500
\r
23 Received: (nullmailer pid 5660 invoked by uid 1000);
\r
24 Fri, 29 Jan 2016 11:53:30 -0000
\r
25 From: David Bremner <david@tethera.net>
\r
26 To: notmuch@notmuchmail.org
\r
27 Subject: [PATCH 3/3] test: canonicalize quotes in xapian error messages
\r
28 Date: Fri, 29 Jan 2016 07:53:13 -0400
\r
29 Message-Id: <1454068393-5406-4-git-send-email-david@tethera.net>
\r
30 X-Mailer: git-send-email 2.6.4
\r
31 In-Reply-To: <1454068393-5406-1-git-send-email-david@tethera.net>
\r
32 References: <1454068393-5406-1-git-send-email-david@tethera.net>
\r
33 X-BeenThere: notmuch@notmuchmail.org
\r
34 X-Mailman-Version: 2.1.20
\r
36 List-Id: "Use and development of the notmuch mail system."
\r
37 <notmuch.notmuchmail.org>
\r
38 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
39 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
41 List-Post: <mailto:notmuch@notmuchmail.org>
\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
43 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
45 X-List-Received-Date: Fri, 29 Jan 2016 11:53:37 -0000
\r
47 These differ between 1.2 and 1.3, so we transform the 1.2 backquote to a
\r
48 single quote for compatibility
\r
50 test/T360-symbol-hiding.sh | 4 ++--
\r
51 1 file changed, 2 insertions(+), 2 deletions(-)
\r
53 diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh
\r
54 index 4ec0ea6..89e7f16 100755
\r
55 --- a/test/T360-symbol-hiding.sh
\r
56 +++ b/test/T360-symbol-hiding.sh
\r
57 @@ -15,11 +15,11 @@ test_begin_subtest 'running test' run_test
\r
58 mkdir -p ${PWD}/fakedb/.notmuch
\r
59 ( LD_LIBRARY_PATH="$TEST_DIRECTORY/../lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" \
\r
60 $TEST_DIRECTORY/symbol-test ${PWD}/fakedb ${PWD}/nonexistent \
\r
61 - 2>&1 | sed "s,${PWD},CWD,g") > OUTPUT
\r
62 + 2>&1 | notmuch_dir_sanitize | sed "s,\`,\',g") > OUTPUT
\r
64 cat <<EOF > EXPECTED
\r
65 A Xapian exception occurred opening database: Couldn't stat 'CWD/fakedb/.notmuch/xapian'
\r
66 -caught No chert database found at path \`CWD/nonexistent'
\r
67 +caught No chert database found at path 'CWD/nonexistent'
\r
69 test_expect_equal_file EXPECTED OUTPUT
\r