summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_http.t
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2005-11-03 15:04:16 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2005-11-03 15:04:16 (GMT)
commitf278c817e584ac7ccd3bdfee3daefdbc483398b7 (patch)
treea30a777628040bb25e2f42d86e15f47c12d0f3ee /plugins/t/check_http.t
parent5537f7b0cdac98df3b9a090e13030969e404ed7d (diff)
downloadmonitoring-plugins-f278c817e584ac7ccd3bdfee3daefdbc483398b7.tar.gz
Fixing some test failures
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1270 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/t/check_http.t')
-rw-r--r--plugins/t/check_http.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t
index 56d939b..d979914 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
21my $hostname_invalid = getTestParameter( "hostname_invalid", "NP_HOSTNAME_INVALID", "nosuchhost", 21my $hostname_invalid = getTestParameter( "hostname_invalid", "NP_HOSTNAME_INVALID", "nosuchhost",
22 "An invalid (not known to DNS) hostname" ); 22 "An invalid (not known to DNS) hostname" );
23 23
24my $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/'; 24my $successOutput = '/OK.*HTTP.*second/';
25 25
26my %exceptions = ( 2 => "No Web Server present?" ); 26my %exceptions = ( 2 => "No Web Server present?" );
27 27