X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT564-lib-query.sh;h=53a63bf61ac29611d390a355e8ddf35f2b3b8f4d;hp=ff1d49849bc571775d69a9af3d46ddaf89d23cb7;hb=2707c06a0fc587a68096a3ec6f054ba4f0d7e7c7;hpb=a06b76b9b3c1212b17d2bb170bdd511711f578f8 diff --git a/test/T564-lib-query.sh b/test/T564-lib-query.sh index ff1d4984..53a63bf6 100755 --- a/test/T564-lib-query.sh +++ b/test/T564-lib-query.sh @@ -17,7 +17,9 @@ int main (int argc, char** argv) 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);