Re: [PATCH] test:Improve test behaviors when --root is used
[notmuch-archives.git] / b0 / ee3361c2c7357bd55cba629f2944c55ada7564
1 Return-Path: <amdragon@gmail.com>\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 353B8429E25\r
6         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 13:50:50 -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: -0.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
13         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id 5xOc2zl9V4uH for <notmuch@notmuchmail.org>;\r
17         Mon, 27 Jun 2011 13:50:48 -0700 (PDT)\r
18 Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com\r
19         [209.85.216.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id C2BF6431FD0\r
22         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 13:50:48 -0700 (PDT)\r
23 Received: by qwb7 with SMTP id 7so3053298qwb.26\r
24         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 13:50:48 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=domainkey-signature:mime-version:sender:in-reply-to:references:date\r
27         :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
28         :content-transfer-encoding;\r
29         bh=W8Pfixbl+UMsUuGqFz3xiRbSOU/piFcnGOTXqCtE9+0=;\r
30         b=StxDtHytmdAAlDeKpVxI6PeGWuk6DjwrY4LvB4ftglr9U4RKWzxWxuI4fBY6eW/Z//\r
31         dS7Bof0B09SEuGKE54azDmMhUQHnWW78R3eJcvhDiXWWgmghglnCfG0PHLIrbrkowvaG\r
32         skf8/T2I0igQtMQcq863AX0Eiaz1tsDygLpDY=\r
33 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
34         h=mime-version:sender:in-reply-to:references:date\r
35         :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
36         :content-transfer-encoding;\r
37         b=fLrx1b9OtwESP/KrZ6xrQVtTFWvTsrz7lfxp+RlMkomgPOj1+BGpcHvNrdFih8dnnT\r
38         zQ40XSxG3YYWfLgktrVLToonl+2i6okFMHxRHf/80zNqIfKD67zdcqa6jEgciT9ZwZ6I\r
39         r5hDbBpipGO4mqgAU76l5cOs2C887N9fwanyc=\r
40 MIME-Version: 1.0\r
41 Received: by 10.229.126.229 with SMTP id d37mr3027436qcs.24.1309207847272;\r
42         Mon, 27 Jun 2011 13:50:47 -0700 (PDT)\r
43 Sender: amdragon@gmail.com\r
44 Received: by 10.229.32.197 with HTTP; Mon, 27 Jun 2011 13:50:47 -0700 (PDT)\r
45 In-Reply-To: <87vcvrw91f.fsf@gmail.com>\r
46 References: <87vcvrw91f.fsf@gmail.com>\r
47 Date: Mon, 27 Jun 2011 16:50:47 -0400\r
48 X-Google-Sender-Auth: xk4kz63n3Akg7hcEhxF1qvn6On8\r
49 Message-ID: <BANLkTi=bXR+ors+YZH8yNkU7ZXEOvrXwDw@mail.gmail.com>\r
50 Subject: Re: [PATCH] test:Improve test behaviors when --root is used\r
51 From: Austin Clements <amdragon@mit.edu>\r
52 To: Mark Anderson <ma.skies@gmail.com>\r
53 Content-Type: text/plain; charset=ISO-8859-1\r
54 Content-Transfer-Encoding: quoted-printable\r
55 Cc: notmuch@notmuchmail.org\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Mon, 27 Jun 2011 20:50:50 -0000\r
69 \r
70 This looks great (modulo one bug, below).  I've wanted to run the\r
71 tests on tmpfs before, but was too lazy to actually fix the tests.\r
72 \r
73 Given how easy it is to accidentally use "..", I wonder if there's a\r
74 way to force people to use $TEST_DIRECTORY?\r
75 \r
76 On Mon, Jun 27, 2011 at 12:09 PM, Mark Anderson <ma.skies@gmail.com> wrote:\r
77 > --- a/test/symbol-hiding\r
78 > +++ b/test/symbol-hiding\r
79 > @@ -12,13 +12,13 @@ test_description=3D'exception symbol hiding'\r
80 > =A0. ./test-lib.sh\r
81 >\r
82 > =A0run_test(){\r
83 > - =A0 =A0result=3D$(LD_LIBRARY_PATH=3D../../lib ./symbol-test 2>&1)\r
84 > + =A0 =A0result=3D$(LD_LIBRARY_PATH=3D$TEST_DIRECTORY/../../lib ./symbol-=\r
85 test 2>&1)\r
86 \r
87 Did you mean $TEST_DIRECTORY/../lib?\r