1 Return-Path: <bremner@tesseract.cs.unb.ca>
\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 37D59429E25
\r
6 for <notmuch@notmuchmail.org>; Tue, 6 May 2014 06:07:54 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 nbrNF-Nn+bUQ for <notmuch@notmuchmail.org>;
\r
16 Tue, 6 May 2014 06:07:48 -0700 (PDT)
\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net
\r
18 [87.98.215.224]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id A9A2F431FD6
\r
21 for <notmuch@notmuchmail.org>; Tue, 6 May 2014 06:07:48 -0700 (PDT)
\r
22 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim
\r
23 4.72) (envelope-from <bremner@tesseract.cs.unb.ca>)
\r
24 id 1Whf5O-0006xj-Li; Tue, 06 May 2014 13:07:06 +0000
\r
25 Received: (nullmailer pid 29572 invoked by uid 1000); Tue, 06 May 2014
\r
27 From: David Bremner <david@tethera.net>
\r
28 To: notmuch@notmuchmail.org
\r
29 Subject: [PATCH 2/2] test: redirect gdb output to a file.
\r
30 Date: Tue, 6 May 2014 22:06:28 +0900
\r
31 Message-Id: <1399381588-26271-3-git-send-email-david@tethera.net>
\r
32 X-Mailer: git-send-email 1.9.2
\r
33 In-Reply-To: <1399381588-26271-1-git-send-email-david@tethera.net>
\r
34 References: <1399381588-26271-1-git-send-email-david@tethera.net>
\r
35 X-BeenThere: notmuch@notmuchmail.org
\r
36 X-Mailman-Version: 2.1.13
\r
38 List-Id: "Use and development of the notmuch mail system."
\r
39 <notmuch.notmuchmail.org>
\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
43 List-Post: <mailto:notmuch@notmuchmail.org>
\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
47 X-List-Received-Date: Tue, 06 May 2014 13:07:54 -0000
\r
49 It seems that the normal output redirection in the test suite doesn't
\r
50 work for gdb, but it's nice to have output in a file for debugging.
\r
52 test/T380-atomicity.sh | 2 +-
\r
53 1 file changed, 1 insertion(+), 1 deletion(-)
\r
55 diff --git a/test/T380-atomicity.sh b/test/T380-atomicity.sh
\r
56 index 1c786fa..2daef90 100755
\r
57 --- a/test/T380-atomicity.sh
\r
58 +++ b/test/T380-atomicity.sh
\r
59 @@ -64,7 +64,7 @@ if test_require_external_prereq gdb; then
\r
60 # -tty /dev/null works around a conflict between the 'timeout' wrapper
\r
61 # and gdb's attempt to control the TTY.
\r
63 - gdb -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.gdb notmuch >/dev/null 2>/dev/null
\r
64 + gdb -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.gdb notmuch 1>gdb.out 2>&1
\r
66 # Get the final, golden output
\r
67 notmuch search '*' > expected
\r