1 Return-Path: <pieter@praet.org>
\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 D5AEB429E54
\r
6 for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 23:36:26 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 py1bc-MvX9pO for <notmuch@notmuchmail.org>;
\r
16 Mon, 27 Jun 2011 23:36:26 -0700 (PDT)
\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
18 [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 46B7E429E51 for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 23:36:26 -0700
\r
22 Received: by wwj40 with SMTP id 40so4319725wwj.2
\r
23 for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 23:36:25 -0700 (PDT)
\r
24 Received: by 10.227.28.200 with SMTP id n8mr6151638wbc.97.1309242983660;
\r
25 Mon, 27 Jun 2011 23:36:23 -0700 (PDT)
\r
26 Received: from localhost ([109.131.53.225])
\r
27 by mx.google.com with ESMTPS id c17sm4601338wbh.29.2011.06.27.23.36.21
\r
28 (version=TLSv1/SSLv3 cipher=OTHER);
\r
29 Mon, 27 Jun 2011 23:36:22 -0700 (PDT)
\r
30 From: Pieter Praet <pieter@praet.org>
\r
31 To: Austin Clements <amdragon@mit.edu>, Mark Anderson <ma.skies@gmail.com>
\r
32 Subject: Re: [PATCH] test:Improve test behaviors when --root is used
\r
33 In-Reply-To: <BANLkTi=bXR+ors+YZH8yNkU7ZXEOvrXwDw@mail.gmail.com>
\r
34 References: <87vcvrw91f.fsf@gmail.com>
\r
35 <BANLkTi=bXR+ors+YZH8yNkU7ZXEOvrXwDw@mail.gmail.com>
\r
36 User-Agent: Notmuch/0.5-243-g5a76944 (http://notmuchmail.org) Emacs/23.1.50.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Tue, 28 Jun 2011 08:36:20 +0200
\r
39 Message-ID: <874o3atqcb.fsf@praet.org>
\r
41 Content-Type: text/plain; charset=utf-8
\r
42 Content-Transfer-Encoding: quoted-printable
\r
43 Cc: notmuch@notmuchmail.org
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Tue, 28 Jun 2011 06:36:27 -0000
\r
58 On Mon, 27 Jun 2011 16:50:47 -0400, Austin Clements <amdragon@mit.edu> wrot=
\r
60 > This looks great (modulo one bug, below). I've wanted to run the
\r
61 > tests on tmpfs before, but was too lazy to actually fix the tests.
\r
63 > Given how easy it is to accidentally use "..", I wonder if there's a
\r
64 > way to force people to use $TEST_DIRECTORY?
\r
66 Something like this? Mind you, my grep-fu is non-existent.
\r
69 dotdot=3D$(rgrep -nH -e "\.\.\/" . | grep -v -e "\$TEST_DIRECTORY")
\r
70 if [ -n "${dotdot}" ] ; then
\r
71 echo -e "Don't dot dot me! Use \$TEST_DIRECTORY as prefix instead.\n\nO=
\r
72 ffending lines:\n ${dotdot}"
\r
76 > On Mon, Jun 27, 2011 at 12:09 PM, Mark Anderson <ma.skies@gmail.com> wrot=
\r
78 > > --- a/test/symbol-hiding
\r
79 > > +++ b/test/symbol-hiding
\r
80 > > @@ -12,13 +12,13 @@ test_description=3D'exception symbol hiding'
\r
81 > > =C2=A0. ./test-lib.sh
\r
83 > > =C2=A0run_test(){
\r
84 > > - =C2=A0 =C2=A0result=3D$(LD_LIBRARY_PATH=3D../../lib ./symbol-test 2>&=
\r
86 > > + =C2=A0 =C2=A0result=3D$(LD_LIBRARY_PATH=3D$TEST_DIRECTORY/../../lib .=
\r
89 > Did you mean $TEST_DIRECTORY/../lib?
\r
90 > _______________________________________________
\r
91 > notmuch mailing list
\r
92 > notmuch@notmuchmail.org
\r
93 > http://notmuchmail.org/mailman/listinfo/notmuch
\r