aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-07-19 07:36:47 -0300
committerDavid Bremner <david@tethera.net>2020-07-22 19:52:55 -0300
commitce360ce4c99597946949317aa40892536c9ebc05 (patch)
treee966b0af860af16fdce209f7b09cd89f6c08e2f0 /test
parent97c887282a6688323822137a21ea0bfc2344b5c9 (diff)
lib: rename _n_d_create to _n_d_find_or_create
The error message and name were confusing when called in some "read only" context.
Diffstat (limited to 'test')
-rwxr-xr-xtest/T560-lib-error.sh2
-rwxr-xr-xtest/T562-lib-database.sh3
2 files changed, 2 insertions, 3 deletions
diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh
index 8a608341..68180e41 100755
--- a/test/T560-lib-error.sh
+++ b/test/T560-lib-error.sh
@@ -275,7 +275,7 @@ sed 's/^\(A Xapian exception [^:]*\):.*$/\1/' < OUTPUT > OUTPUT.clean
cat <<'EOF' >EXPECTED
== stdout ==
== stderr ==
-A Xapian exception occurred creating a directory
+A Xapian exception occurred finding/creating a directory
EOF
test_expect_equal_file EXPECTED OUTPUT.clean
restore_database
diff --git a/test/T562-lib-database.sh b/test/T562-lib-database.sh
index 75a31091..f7391d3f 100755
--- a/test/T562-lib-database.sh
+++ b/test/T562-lib-database.sh
@@ -234,7 +234,7 @@ cat <<EOF > EXPECTED
== stdout ==
1
== stderr ==
-A Xapian exception occurred creating a directory: Database has been closed.
+A Xapian exception occurred finding/creating a directory: Database has been closed.
EOF
test_expect_equal_file EXPECTED OUTPUT
@@ -289,7 +289,6 @@ EOF
test_expect_equal_file EXPECTED OUTPUT
test_begin_subtest "remove message file with a closed db"
-test_subtest_known_broken
cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}
{
EXPECT0(notmuch_database_close (db));