aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-02-26 17:21:32 -0400
committerDavid Bremner <david@tethera.net>2017-03-22 08:35:07 -0300
commit86cbd215eb67d7b996c977352a50e70c101cb641 (patch)
tree2186342f5aa9f2d11c275eb30cfbbca5330e4fa2 /test
parent1e982de508c39dae7a61403f536df74c180dfb72 (diff)
lib: replace deprecated n_q_search_messages with status returning version
This function was deprecated in notmuch 0.21. We re-use the name for a status returning version, and deprecate the _st name.
Diffstat (limited to 'test')
-rwxr-xr-xtest/T560-lib-error.sh2
-rwxr-xr-xtest/T640-database-modified.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh
index e775216e..f18c8813 100755
--- a/test/T560-lib-error.sh
+++ b/test/T560-lib-error.sh
@@ -286,7 +286,7 @@ cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
{
notmuch_messages_t *messages = NULL;
notmuch_query_t *query=notmuch_query_create (db, "*");
- stat = notmuch_query_search_messages_st (query, &messages);
+ stat = notmuch_query_search_messages (query, &messages);
}
EOF
sed 's/^\(A Xapian exception [^:]*\):.*$/\1/' < OUTPUT > OUTPUT.clean
diff --git a/test/T640-database-modified.sh b/test/T640-database-modified.sh
index 92758e19..e35e35f6 100755
--- a/test/T640-database-modified.sh
+++ b/test/T640-database-modified.sh
@@ -35,7 +35,7 @@ main (int argc, char **argv)
EXPECT0 (notmuch_database_open (path, NOTMUCH_DATABASE_MODE_READ_WRITE, &rw_db));
query = notmuch_query_create(rw_db, "");
- EXPECT0 (notmuch_query_search_messages_st (query, &messages));
+ EXPECT0 (notmuch_query_search_messages (query, &messages));
for (;
notmuch_messages_valid (messages);