diff options
| author | David Bremner <david@tethera.net> | 2021-02-14 13:46:13 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-27 09:26:14 -0300 |
| commit | f055e945627b3b0563262d4d273ac15a53766ef3 (patch) | |
| tree | f5fe592e5f7ea11bc56a410cc7bd99508812e184 /test/T750-user-header.sh | |
| parent | b76da87d29b6c9714e3d62fd8d459733df084f92 (diff) | |
CLI/config: use notmuch_database_reopen
This allows `notmuch config` to use the common configuration
information carried by the notmuch_database_t opened at the top level.
Diffstat (limited to 'test/T750-user-header.sh')
| -rwxr-xr-x | test/T750-user-header.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/T750-user-header.sh b/test/T750-user-header.sh index b19db571..586788b3 100755 --- a/test/T750-user-header.sh +++ b/test/T750-user-header.sh @@ -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: Cannot open 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 |
