aboutsummaryrefslogtreecommitdiff
path: root/test/T562-lib-database.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-08-08 11:16:36 -0300
committerDavid Bremner <david@tethera.net>2021-02-06 18:57:35 -0400
commite5f3c3ed50247323ecbd2a50e3b24a8352d17f8d (patch)
tree86adf8b40c3c3ca36755ddfe4213a8597dc35dc7 /test/T562-lib-database.sh
parent4743e87c2c79c37208bb60d6617ef203796fc5c2 (diff)
lib: add stub for notmuch_database_open_with_config
Initially document the intended API and copy the code from notmuch_database_open_verbose. Most of the documented functionality is not there yet.
Diffstat (limited to 'test/T562-lib-database.sh')
-rwxr-xr-xtest/T562-lib-database.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/T562-lib-database.sh b/test/T562-lib-database.sh
index 887851dd..db251fe7 100755
--- a/test/T562-lib-database.sh
+++ b/test/T562-lib-database.sh
@@ -343,12 +343,12 @@ cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
char *result;
EXPECT0(notmuch_database_close (db));
stat = notmuch_database_get_config (db, "foo", &result);
- printf("%d\n", stat == NOTMUCH_STATUS_XAPIAN_EXCEPTION);
+ printf("%d\n", stat == NOTMUCH_STATUS_SUCCESS);
}
EOF
cat <<EOF > EXPECTED
== stdout ==
-0
+1
== stderr ==
EOF
test_expect_equal_file EXPECTED OUTPUT