X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/dae0f48e91304afcb6ebe0936360e51b22a56548..03b956ab4cb2fee8f7b93e725869060bb45fa4ea:/t/html.t?ds=sidebyside diff --git a/t/html.t b/t/html.t index 66e90d8e3..84c561fa8 100755 --- 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);