X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT560-lib-error.sh;h=1d45dc7da2bb8fb56516ce760efd840bf6429372;hp=1f4482cbe3d30cadf43ca362aa7f4ea946e22d70;hb=f6e7a9dde5a7d9c2fa390a15888704c31852a538;hpb=ae1fc657efa7e6dcbcbd79a3fe721e8f5b1f70a9 diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh index 1f4482cb..1d45dc7d 100755 --- a/test/T560-lib-error.sh +++ b/test/T560-lib-error.sh @@ -206,7 +206,9 @@ int main (int argc, char** argv) char *msg = NULL; int fd; - 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);