X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT568-lib-thread.sh;h=b4c24ca23b049b4ec8e06a67d28e9d7fb1bae407;hb=fb4a0967cab7df737d5d53199a48a0e79c429b61;hp=088e66dd937313bd1f9c44d60513f998f2b3dc7a;hpb=a37d5f5976de07b36141aa6b4a98cf913a3cf2fe;p=notmuch diff --git a/test/T568-lib-thread.sh b/test/T568-lib-thread.sh index 088e66dd..b4c24ca2 100755 --- a/test/T568-lib-thread.sh +++ b/test/T568-lib-thread.sh @@ -24,9 +24,8 @@ cat <<'EOF' > c_tail EOF cat < c_head -#include -#include #include + int main (int argc, char** argv) { notmuch_database_t *db; @@ -37,7 +36,9 @@ int main (int argc, char** argv) notmuch_query_t *query = NULL; const char *id = "${THREAD}"; - 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);