aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar David Bremner <david@tethera.net>2014-05-06 22:06:28 +0900
committerGravatar David Bremner <david@tethera.net>2014-07-13 12:36:49 -0300
commitde262a20261a11b191f29db67ace8cdd3d504682 (patch)
treed201e06f21843d53c6f1c5381bf7e4748f6ce2cd /test
parent24b24be15152deb6b408afb334142dbacc4ff671 (diff)
test: redirect gdb output to a file.
It seems that the normal output redirection in the test suite doesn't work for gdb, but it's nice to have output in a file for debugging.
Diffstat (limited to 'test')
-rwxr-xr-xtest/T380-atomicity.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T380-atomicity.sh b/test/T380-atomicity.sh
index 1c786fa2..2daef906 100755
--- a/test/T380-atomicity.sh
+++ b/test/T380-atomicity.sh
@@ -64,7 +64,7 @@ if test_require_external_prereq gdb; then
# -tty /dev/null works around a conflict between the 'timeout' wrapper
# and gdb's attempt to control the TTY.
export MAIL_DIR
- gdb -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.gdb notmuch >/dev/null 2>/dev/null
+ gdb -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.gdb notmuch 1>gdb.out 2>&1
# Get the final, golden output
notmuch search '*' > expected