]> git.notmuchmail.org Git - notmuch/blobdiff - test/T750-user-header.sh
CLI/config: use notmuch_database_reopen
[notmuch] / test / T750-user-header.sh
index ff554b06a60914e9c2a6a8fed511fd5a4c52831d..586788b31216cfd415acbfd62bd29637c7844345 100755 (executable)
@@ -5,7 +5,8 @@ test_description='indexing user specified headers'
 test_begin_subtest "error adding user header before initializing DB"
 notmuch config set index.header.List List-Id 2>&1 | notmuch_dir_sanitize > OUTPUT
 cat <<EOF > EXPECTED
-Error opening database at MAIL_DIR/.notmuch: No such file or directory
+notmuch config: Illegal argument for function
+Cannot reopen closed or nonexistent database
 EOF
 test_expect_equal_file EXPECTED OUTPUT