]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - test/T380-atomicity.sh
test: redirect gdb output to a file.
[notmuch.git] / test / T380-atomicity.sh
index 1c786fa2724262dad40cc9f7b883b6269586bc1d..2daef9066fabaa854d48dd36f9dc872495e18d18 100755 (executable)
@@ -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