diff options
| author | David Bremner <david@tethera.net> | 2022-05-21 15:06:29 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-05-29 07:36:32 -0300 |
| commit | f6e7a9dde5a7d9c2fa390a15888704c31852a538 (patch) | |
| tree | 65f82fe6066e8c44ed99243060bf1d4059e427b6 /test/T563-lib-directory.sh | |
| parent | ae1fc657efa7e6dcbcbd79a3fe721e8f5b1f70a9 (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-x | test/T563-lib-directory.sh | 4 |
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); |
