projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c994e
)
test: Add a test for skipping ignored broken symlinks
author
Austin Clements
<amdragon@MIT.EDU>
Sun, 25 Nov 2012 05:25:44 +0000
(
00:25
-0500)
committer
David Bremner
<bremner@debian.org>
Tue, 27 Nov 2012 02:12:21 +0000
(22:12 -0400)
Currently marked as broken because we abort on broken symlinks, even
if they are in the ignore list.
test/new
patch
|
blob
|
history
diff --git
a/test/new
b/test/new
index f562cec1239e504a1a2f8c28b6999ba42b36e0ee..ea678d7c0f425ec7c564de872741142a67e6b2c2 100755
(executable)
--- a/
test/new
+++ b/
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