From: David Bremner Date: Sat, 25 Dec 2021 21:22:55 +0000 (-0400) Subject: test/new: add known broken test for missing xapian directory. X-Git-Tag: archive/debian/0.34.3-1~9 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=e43bad4883cf8a0c1d58d50238da599f9e170307 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. --- 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