mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
test: Add a test for skipping ignored broken symlinks
Currently marked as broken because we abort on broken symlinks, even if they are in the ignore list.
This commit is contained in:
parent
59c994e770
commit
f5d65615bb
1 changed files with 7 additions and 0 deletions
7
test/new
7
test/new
|
@ -236,4 +236,11 @@ test_expect_equal "$output" \
|
|||
No new mail."
|
||||
|
||||
|
||||
test_begin_subtest "Don't stop for ignored broken symlinks"
|
||||
test_subtest_known_broken
|
||||
notmuch config set new.ignore .git ignored_file .ignored_hidden_file broken_link
|
||||
ln -s i_do_not_exist "${MAIL_DIR}"/broken_link
|
||||
output=$(NOTMUCH_NEW 2>&1)
|
||||
test_expect_equal "$output" "No new mail."
|
||||
|
||||
test_done
|
||||
|
|
Loading…
Reference in a new issue