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 arlo.cworth.org (Postfix) with ESMTP id E91EA6DE1992
\r
6 for <notmuch@notmuchmail.org>; Tue, 7 Apr 2015 05:30:52 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=1.179 tagged_above=-999 required=5 tests=[AWL=0.527,
\r
12 SPF_NEUTRAL=0.652] 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 kqDbAIRVdTgQ for <notmuch@notmuchmail.org>;
\r
16 Tue, 7 Apr 2015 05:30:46 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by arlo.cworth.org (Postfix) with ESMTP id 75ABC6DE198A
\r
19 for <notmuch@notmuchmail.org>; Tue, 7 Apr 2015 05:30:46 -0700 (PDT)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id 7D11010019F;
\r
22 Tue, 7 Apr 2015 15:30:20 +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: move nonexistant directory to something under
\r
27 In-Reply-To: <1428408900-22839-1-git-send-email-david@tethera.net>
\r
28 References: <1428408900-22839-1-git-send-email-david@tethera.net>
\r
29 User-Agent: Notmuch/0.19+107~gab55bdb (http://notmuchmail.org) Emacs/24.3.1
\r
30 (x86_64-unknown-linux-gnu)
\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
32 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
33 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
34 Date: Tue, 07 Apr 2015 15:30:20 +0300
\r
35 Message-ID: <m2h9sst92b.fsf@guru.guru-group.fi>
\r
37 Content-Type: text/plain
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.18
\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: Tue, 07 Apr 2015 12:30:53 -0000
\r
52 On Tue, Apr 07 2015, David Bremner <david@tethera.net> wrote:
\r
54 > Apparently some systems actually have a directory called /nonexistent.
\r
55 > It's hard to fathom a good reason for that, but oh well. As long as we
\r
56 > don't create such a directory inside the notmuch source tree, the new
\r
57 > version should be more robust.
\r
61 although it makes this diff bigger should all /nonexistent... paths be
\r
62 changed to ./nonexistent... -- it is a bit confusing having just this one
\r
63 (or should there be another patch which converts rest of those)
\r
65 Is 'nonexistant' there for a reason (as dictionaries find definitions for
\r
66 that) or is it misspelling of 'nonexistent'. If there is no reason I'd like
\r
67 to see it written 'nonexistent' uniformly :D
\r
74 > This should (hopefully) fix the current failures on travis
\r
75 > test/T560-lib-error.sh | 4 ++--
\r
76 > 1 file changed, 2 insertions(+), 2 deletions(-)
\r
78 > diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh
\r
79 > index 828a44b..57abb28 100755
\r
80 > --- a/test/T560-lib-error.sh
\r
81 > +++ b/test/T560-lib-error.sh
\r
82 > @@ -43,13 +43,13 @@ int main (int argc, char** argv)
\r
84 > notmuch_database_t *db;
\r
85 > notmuch_status_t stat;
\r
86 > - stat = notmuch_database_open ("/nonexistent/foo", 0, 0);
\r
87 > + stat = notmuch_database_open ("./nonexistent/foo", 0, 0);
\r
90 > cat <<'EOF' >EXPECTED
\r
93 > -Error opening database at /nonexistent/foo/.notmuch: No such file or directory
\r
94 > +Error opening database at ./nonexistent/foo/.notmuch: No such file or directory
\r
96 > test_expect_equal_file EXPECTED OUTPUT
\r
101 > _______________________________________________
\r
102 > notmuch mailing list
\r
103 > notmuch@notmuchmail.org
\r
104 > http://notmuchmail.org/mailman/listinfo/notmuch
\r