Diff options
Diffstat (limited to 'tests/t0111-atom.sh')
-rwxr-xr-xtests/t0111-atom.sh7
1 file changed, 1 insertion, 6 deletions
diff --git a/tests/t0111-atom.sh b/tests/t0111-atom.sh
index 48448ef..ccc8a2f 100755
--- a/tests/t0111-atom.sh
+++ b/tests/t0111-atom.sh
@@ -46,12 +46,7 @@ test_expect_success 'max-atom-items overrides the ceiling' '
test $(grep -c "<entry>" feed) -eq 3
'
-if command -v xmllint >/dev/null 2>&1
-then
- test_set_prereq XMLLINT
-else
- say 'Skipping well-formedness check: xmllint not found'
-fi
+test_lazy_prereq XMLLINT 'command -v xmllint'
test_expect_success XMLLINT 'the feed is well-formed xml' '
cgit_url "foo/atom" >tmp &&