1 Return-Path: <david@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 olra.theworths.org (Postfix) with ESMTP id 05C3B431FB6
\r
6 for <notmuch@notmuchmail.org>; Sun, 18 Jan 2015 23:39:19 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=2.438 tagged_above=-999 required=5
\r
12 tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 JSyPhXZxphwb for <notmuch@notmuchmail.org>;
\r
16 Sun, 18 Jan 2015 23:39:16 -0800 (PST)
\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net
\r
19 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 19223431FAF
\r
22 for <notmuch@notmuchmail.org>; Sun, 18 Jan 2015 23:39:16 -0800 (PST)
\r
23 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim
\r
24 4.80) (envelope-from <david@tethera.net>)
\r
25 id 1YD6ug-0002DE-RM; Mon, 19 Jan 2015 07:38:18 +0000
\r
26 Received: (nullmailer pid 15584 invoked by uid 1000); Mon, 19 Jan 2015
\r
28 From: David Bremner <david@tethera.net>
\r
29 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org
\r
30 Subject: Re: [PATCH] test: prepare test-lib.sh for possible test system debug
\r
32 In-Reply-To: <1411322780-11374-1-git-send-email-tomi.ollila@iki.fi>
\r
33 References: <1411322780-11374-1-git-send-email-tomi.ollila@iki.fi>
\r
34 User-Agent: Notmuch/0.19+27~g29ffde4 (http://notmuchmail.org) Emacs/24.4.1
\r
35 (x86_64-pc-linux-gnu)
\r
36 Date: Mon, 19 Jan 2015 08:38:05 +0100
\r
37 Message-ID: <87k30jrzj6.fsf@maritornes.cs.unb.ca>
\r
39 Content-Type: text/plain
\r
40 Cc: tomi.ollila@iki.fi
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Mon, 19 Jan 2015 07:39:19 -0000
\r
55 Tomi Ollila <tomi.ollila@iki.fi> writes:
\r
57 > When something in tests fails one possibility to test is to run
\r
58 > the test script as `bash -x TXXX-testname.sh`. As stderr (fd 2) was
\r
59 > redirected to separate file during test execution also this set -x
\r
60 > (xtrace) output would also go there.
\r
61 > test-lib.sh saves the stderr to fd 7 from where it can be restored,
\r
62 > and bash has BASH_XTRACEFD variable, which is now given the same value
\r
63 > 7, making bash to output all xtrade information (consistently)
\r