X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT060-count.sh;h=0c0bf47309e930477f0b69fafeb93130f747fd3c;hp=69ab591fe0bd2dd3f1ac68039b007c630cd25709;hb=dbdb860bb92b5eef0eadc6ffd1fd6d5bf64553b9;hpb=9be349c20faea4b119c69ec63a39476ec9570d85 diff --git a/test/T060-count.sh b/test/T060-count.sh index 69ab591f..0c0bf473 100755 --- a/test/T060-count.sh +++ b/test/T060-count.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash test_description='"notmuch count" for messages and threads' -. ./test-lib.sh || exit 1 +. $(dirname "$0")/test-lib.sh || exit 1 add_email_corpus @@ -115,7 +115,7 @@ EOF backup_database test_begin_subtest "error message from query_search_messages" -gdb --batch-silent --return-child-result -x count-files.gdb \ +${TEST_GDB} --batch-silent --return-child-result -x count-files.gdb \ --args notmuch count --output=files '*' 2>OUTPUT 1>/dev/null cat < EXPECTED notmuch count: A Xapian exception occurred @@ -127,7 +127,6 @@ test_expect_equal_file EXPECTED OUTPUT.clean restore_database test_begin_subtest "count library function is non-destructive" -test_subtest_known_broken cat< EXPECTED 1: 52 messages 2: 52 messages