8
BEGIN {$tests = 3; plan tests => $tests}
14
$str = `./check_http $Cache::hostname -wt 300 -ct 600`;
16
$t += ok $str, '/(HTTP\s[o|O][k|K]\s)?\s?HTTP\/1.[01]\s[0-9]{3}\s(OK|Found)\s-\s+([0-9]+|[0-9]+\.[0-9]+)\ssecond response time/';
18
$str = `./check_http $Cache::nullhost -wt 1 -ct 2`;
21
exit(0) if defined($Test::Harness::VERSION);