[PATCH 3/3] test: replace deprecated use of notmuch_database_create

2022-05-21 Thread David Bremner
Like notmuch_database_open, we need to conditionally print the error message. --- test/T560-lib-error.sh | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh index 470537cc..80527afd 100755 --- a/test/T560-lib-error.sh

[PATCH 2/3] test: replace deprecated use of notmuch_database_open

2022-05-21 Thread David Bremner
This is a bit more involved than replacing the use of notmuch_database_open_verbose, as we have to effectively inline the definition of notmuch_database_open. --- test/T560-lib-error.sh | 28 +++- test/T570-revision-tracking.sh | 7 ++- test/T610-message-proper

[PATCH 1/3] test: replace deprecated use of notmuch_database_open_verbose

2022-05-21 Thread David Bremner
We need to do it some day, and it is a bit annoying to read deprecation messages in broken tests. --- test/T560-lib-error.sh | 4 +++- test/T562-lib-database.sh | 4 +++- test/T563-lib-directory.sh | 4 +++- test/T564-lib-query.sh | 4 +++- test/T566-lib-message.sh | 4 +++- test/T568-l