aboutsummaryrefslogtreecommitdiff
path: root/test/T563-lib-directory.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-05-21 15:06:29 -0300
committerDavid Bremner <david@tethera.net>2022-05-29 07:36:32 -0300
commitf6e7a9dde5a7d9c2fa390a15888704c31852a538 (patch)
tree65f82fe6066e8c44ed99243060bf1d4059e427b6 /test/T563-lib-directory.sh
parentae1fc657efa7e6dcbcbd79a3fe721e8f5b1f70a9 (diff)
test: replace deprecated use of notmuch_database_open_verbose
We need to do it some day, and it is a bit annoying to read deprecation messages in broken tests.
Diffstat (limited to 'test/T563-lib-directory.sh')
-rwxr-xr-xtest/T563-lib-directory.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/T563-lib-directory.sh b/test/T563-lib-directory.sh
index ebd7fcb2..22b9e0b9 100755
--- a/test/T563-lib-directory.sh
+++ b/test/T563-lib-directory.sh
@@ -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);