aboutsummaryrefslogtreecommitdiff
path: root/test/T590-libconfig.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-10-27 22:34:19 -0300
committerDavid Bremner <david@tethera.net>2021-12-03 20:52:11 -0400
commit59aac9cef37a9937bdf2265078d063673111f80b (patch)
treee375644b87d0c21d4f3afbefbcfab7b849c7572c /test/T590-libconfig.sh
parentd467444085d96229172ce29ef8654c3c459b6ce2 (diff)
lib/config: don't overwrite database.path if the caller passed it
If the user passed a path, and we opened it, then we consider that definitive definition of "database.path". This makes libnotmuch respond more gracefully to certain erroneous combinations of NOTMUCH_CONFIG settings and config file contents.
Diffstat (limited to 'test/T590-libconfig.sh')
-rwxr-xr-xtest/T590-libconfig.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/T590-libconfig.sh b/test/T590-libconfig.sh
index 0b3e54f3..9fa51fc0 100755
--- a/test/T590-libconfig.sh
+++ b/test/T590-libconfig.sh
@@ -953,7 +953,6 @@ EOF
test_expect_equal_file EXPECTED OUTPUT
test_begin_subtest "open: database parameter overrides implicit config"
-test_subtest_known_broken
notmuch config set database.path ${MAIL_DIR}/nonexistent
cat c_head3 - c_tail3 <<'EOF' | test_C ${MAIL_DIR}
const char *path = NULL;