diff options
| author | David Bremner <david@tethera.net> | 2021-01-03 20:04:46 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-20 07:43:09 -0300 |
| commit | c82554193d0a0c288ad49e3d4fb8c949b92f71fa (patch) | |
| tree | d917176e6a8aad6baab49f785d4e0ffda9662c0f /test/T560-lib-error.sh | |
| parent | 2c879667b3c9d51eb23f53c040acce341d75920b (diff) | |
lib/open: support XDG_DATA_HOME as a fallback database location.
This changes some error reporting, either intentionally by reporting
the highest level missing directory, or by side effect from looking in
XDG locations when given null database location.
Diffstat (limited to 'test/T560-lib-error.sh')
| -rwxr-xr-x | test/T560-lib-error.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh index 03df69d9..89447e9a 100755 --- a/test/T560-lib-error.sh +++ b/test/T560-lib-error.sh @@ -22,7 +22,7 @@ EOF cat <<'EOF' >EXPECTED == stdout == == stderr == -Error: Cannot open a database for a NULL path. +Error: Cannot open database at CWD/home/.local/share/notmuch/default: No such file or directory. EOF test_expect_equal_file EXPECTED OUTPUT @@ -93,7 +93,7 @@ EOF cat <<'EOF' >EXPECTED == stdout == == stderr == -Error: Cannot open a database for a NULL path. +Error: Cannot open database at CWD/home/.local/share/notmuch/default: No such file or directory. EOF test_expect_equal_file EXPECTED OUTPUT |
