]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/html.t
Added a comment: fixed in a recent release, I think
[git.ikiwiki.info.git] / t / html.t
index 66e90d8e3bc91d8323283be6c10d313fa603beef..84c561fa87e380ca63c6cf902e0f87192f5892c5 100755 (executable)
--- a/t/html.t
+++ b/t/html.t
@@ -6,9 +6,9 @@ use Test::More;
 my @pages;
 
 BEGIN {
-       @pages=qw(index todo features news plugins/map security);
-       if (! -x "/usr/bin/validate") {
-               plan skip_all => "/usr/bin/validate html validator not present";
+       @pages=qw(index features news plugins/map security);
+       if (system("command -v validate >/dev/null") != 0) {
+               plan skip_all => "html validator not present";
        }
        else {
                plan(tests => int @pages + 2);