X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT564-lib-query.sh;h=53a63bf61ac29611d390a355e8ddf35f2b3b8f4d;hb=78632345868b5e4753ad402c806c29569946ce89;hp=50b0a88e0793ada49f486cf463865ac064445085;hpb=46468baa5a877b16bf0bb769fc00dd1c2c4b70b0;p=notmuch diff --git a/test/T564-lib-query.sh b/test/T564-lib-query.sh index 50b0a88e..53a63bf6 100755 --- a/test/T564-lib-query.sh +++ b/test/T564-lib-query.sh @@ -9,17 +9,17 @@ test_begin_subtest "building database" test_expect_success "NOTMUCH_NEW" cat < c_head -#include -#include #include -#include + int main (int argc, char** argv) { notmuch_database_t *db; notmuch_status_t stat; char *msg = NULL; - stat = notmuch_database_open_verbose (argv[1], NOTMUCH_DATABASE_MODE_READ_WRITE, &db, &msg); + stat = notmuch_database_open_with_config (argv[1], + NOTMUCH_DATABASE_MODE_READ_WRITE, + NULL, NULL, &db, &msg); if (stat != NOTMUCH_STATUS_SUCCESS) { fprintf (stderr, "error opening database: %d %s\n", stat, msg ? msg : ""); exit (1);