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.
This commit is contained in:
David Bremner 2021-12-25 17:22:55 -04:00
parent 2394ee6289
commit e43bad4883

View file

@ -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