From f278c817e584ac7ccd3bdfee3daefdbc483398b7 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 3 Nov 2005 15:04:16 +0000 Subject: Fixing some test failures git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1270 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/t/check_http.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/t/check_http.t') diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t index 56d939b3..d9799141 100644 --- a/plugins/t/check_http.t +++ b/plugins/t/check_http.t @@ -21,7 +21,7 @@ my $host_nonresponsive = getTestParameter( "host_nonresponsive", "NP_HOST_NONRES my $hostname_invalid = getTestParameter( "hostname_invalid", "NP_HOSTNAME_INVALID", "nosuchhost", "An invalid (not known to DNS) hostname" ); -my $successOutput = '/(HTTP\s[o|O][k|K]\s)?\s?HTTP\/1.[01]\s[0-9]{3}\s(OK|Found)\s-\s+[0-9]+\sbytes\sin\s+([0-9]+|[0-9]+\.[0-9]+)\sseconds/'; +my $successOutput = '/OK.*HTTP.*second/'; my %exceptions = ( 2 => "No Web Server present?" ); -- cgit v1.2.3