mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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:
parent
2394ee6289
commit
e43bad4883
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue