]> git.cworth.org Git - notmuch/blobdiff - test/T563-lib-directory.sh
test: replace deprecated use of notmuch_database_open_verbose
[notmuch] / test / T563-lib-directory.sh
index ebd7fcb2d358d3be118d11c40362facbed9547e2..22b9e0b9050c5c5e1de6c125cc1c66f8a2ec2d33 100755 (executable)
@@ -18,7 +18,9 @@ int main (int argc, char** argv)
    notmuch_status_t stat = NOTMUCH_STATUS_SUCCESS;
    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);