Skip to content

Commit

Permalink
update test per se
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Aug 26, 2010
1 parent d28925a commit 7f4d5f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/00base.t
Expand Up @@ -12,8 +12,7 @@ use_ok('Test::Httpd::Apache2');
split(':', $ENV{PATH}),
@{$Test::Httpd::Apache2::Defaults{search_paths}},
);
my $httpd = $^O eq 'MSWin32' ? 'httpd.exe' : 'httpd';
if (! grep { -x "$_/$httpd" } @paths) {
if (! grep { -x "$_/httpd" || -x "$_/httpd.exe" || -x "$_/apache2" } @paths) {
warn "httpd not found, skipping actual tests";
goto DONE_TESTING;
}
Expand Down

0 comments on commit 7f4d5f9

Please sign in to comment.