diff options
| author | David Bremner <david@tethera.net> | 2021-12-25 17:22:55 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-12-29 14:11:10 -0400 |
| commit | e43bad4883cf8a0c1d58d50238da599f9e170307 (patch) | |
| tree | 305c51e81a36f7b1a207efdc49198c2bb1693e5d | |
| parent | 2394ee6289a2fc2628f198b4a9920116148dd814 (diff) | |
test/new: add known broken test for missing xapian directory.
`notmuch new' should go ahead and create the xapian database if it is
missing, even in the case where the parent .notmuch (or equivalent)
directory exists.
| -rwxr-xr-x | test/T055-path-config.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/T055-path-config.sh b/test/T055-path-config.sh index 6d9fb402..b6858d42 100755 --- a/test/T055-path-config.sh +++ b/test/T055-path-config.sh @@ -318,7 +318,15 @@ to=m.header('To') print(to) EOF test_expect_equal_file EXPECTED OUTPUT - ;& # fall through + ;; + *) + backup_database + test_begin_subtest ".notmuch without xapian/ handled gracefully ($config)" + test_subtest_known_broken + rm -r $XAPIAN_PATH + test_expect_success "notmuch new" + restore_database + ;; esac case $config in |
