[PATCH 1/2] test: Add a test for skipping ignored broken symlinks
Austin Clements
amdragon at MIT.EDU
Sat Nov 24 21:25:44 PST 2012
Currently marked as broken because we abort on broken symlinks, even
if they are in the ignore list.
---
test/new | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/test/new b/test/new
index 587aa11..59892a7 100755
--- a/test/new
+++ b/test/new
@@ -203,4 +203,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
--
1.7.10.4
More information about the notmuch
mailing list