The tests will otherwise fail if gdb is not installed. Thanks to
Milton Vandersloot for pointing out the problem
[1]: id:ztMWvyn1Vw0FloPT7NYTkFoY9Fm1Ez4YgMfYh99Te-Y6yXRtAXuEIfVrodhRKDSxjg-zOJa_RTQ68AtSbSO-ESla5BFLfG7sw5RTGRhEQwI=@protonmail.com
---
test/T060-count.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/T060-count.sh b/test/T060-count.sh
index a1ebf8ba..a1557e33 100755
--- a/test/T060-count.sh
+++ b/test/T060-count.sh
@@ -95,6 +95,7 @@ test_expect_equal_file EXPECTED OUTPUT
backup_database
test_begin_subtest "error message for database open"
+test_require_external_prereq ${TEST_GDB}
target=(${MAIL_DIR}/.notmuch/xapian/postlist.*)
dd if=/dev/zero of="$target" count=3
notmuch count '*' 2>OUTPUT 1>/dev/null
@@ -116,6 +117,7 @@ EOF
backup_database
test_begin_subtest "error message from query_search_messages"
+test_require_external_prereq ${TEST_GDB}
${TEST_GDB} --batch-silent --return-child-result -x count-files.gdb \
--args notmuch count --output=files '*' 2>OUTPUT 1>/dev/null
cat <<EOF > EXPECTED
--
2.30.2
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org