test: check for gdb in insert tests

Commits a6cee01 and c48b12f otherwise break the build for people
without gdb.
This commit is contained in:
David Bremner 2014-10-18 08:13:42 +02:00
parent c48b12f18a
commit dd8373fb57

View file

@ -2,6 +2,8 @@
test_description='"notmuch insert"' test_description='"notmuch insert"'
. ./test-lib.sh . ./test-lib.sh
test_require_external_prereq gdb
# Create directories and database before inserting. # Create directories and database before inserting.
mkdir -p "$MAIL_DIR"/{cur,new,tmp} mkdir -p "$MAIL_DIR"/{cur,new,tmp}
mkdir -p "$MAIL_DIR"/Drafts/{cur,new,tmp} mkdir -p "$MAIL_DIR"/Drafts/{cur,new,tmp}