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:
Austin Clements 2012-11-25 00:25:44 -05:00 committed by David Bremner
parent 59c994e770
commit f5d65615bb

View file

@ -236,4 +236,11 @@ test_expect_equal "$output" \
No new mail." 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 test_done