aboutsummaryrefslogtreecommitdiff
path: root/test/T060-count.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2016-06-28 23:08:54 +0200
committerDavid Bremner <david@tethera.net>2016-08-09 09:33:59 +0900
commitf45fa5bdd397d52473f7092f7ae3e2ffb9b7aee5 (patch)
tree9a0ec9826e02a78915e6bb8fc8618e0e9267d728 /test/T060-count.sh
parent2a7b11b064233afc4feead876fa396e3c18a6b91 (diff)
test: make gdb even quieter
gdb sometimes writes warnings to stdout, which we don't need/want, and for some reason --batch-silent isn't enough to hide. So in this commit we write them to a log file, which is probably better for debugging anyway. To see an illustrative test failure before this change, run % make % touch notmuch-count.c % cd test && ./T060-count.sh
Diffstat (limited to 'test/T060-count.sh')
-rwxr-xr-xtest/T060-count.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/T060-count.sh b/test/T060-count.sh
index 0ac83140..d6933a76 100755
--- a/test/T060-count.sh
+++ b/test/T060-count.sh
@@ -103,6 +103,8 @@ restore_database
cat <<EOF > count-files.gdb
set breakpoint pending on
+set logging file count-files-gdb.log
+set logging on
break count_files
commands
shell cp /dev/null ${MAIL_DIR}/.notmuch/xapian/postlist.${db_ending}