Search $PATH for "validate", since the test does.
"validate" is a very generic command name, and it validates against an old standard, so the value of this test is questionable.master
parent
f99a9a8ffd
commit
afd9b2ff74
4
t/html.t
4
t/html.t
|
@ -7,8 +7,8 @@ my @pages;
|
||||||
|
|
||||||
BEGIN {
|
BEGIN {
|
||||||
@pages=qw(index features news plugins/map security);
|
@pages=qw(index features news plugins/map security);
|
||||||
if (! -x "/usr/bin/validate") {
|
if (system("command -v validate >/dev/null") != 0) {
|
||||||
plan skip_all => "/usr/bin/validate html validator not present";
|
plan skip_all => "html validator not present";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
plan(tests => int @pages + 2);
|
plan(tests => int @pages + 2);
|
||||||
|
|
Loading…
Reference in New Issue