X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/e16746a52f40f478af1b634c532d90c25cc0ec76..9802e986521617c3eadd566ac72fdd68bdab3209:/t/html.t diff --git a/t/html.t b/t/html.t index fc6888dca..84c561fa8 100755 --- a/t/html.t +++ b/t/html.t @@ -6,15 +6,14 @@ 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 + 3); + plan(tests => int @pages + 2); } use_ok("IkiWiki"); - use_ok("IkiWiki::Render"); } # Have to build the html pages first.