diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-05 00:14:37 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-05 00:14:37 +0000 |
commit | 8f24f0bfdfb1eb2d1c5f59febc2498f03fd8ad78 (patch) | |
tree | 9f3f58a830e9b5340b01733297191c1d2582a577 /plugins/t/check_http.t | |
parent | cca36dc2457a0e3abd071c48fcbf7e87f681706c (diff) | |
download | monitoring-plugins-8f24f0bfdfb1eb2d1c5f59febc2498f03fd8ad78.tar.gz |
Fix check_http test (altinity.com redirects now).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2067 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/t/check_http.t')
-rw-r--r-- | plugins/t/check_http.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t index 3ecc0ac5..c98b4ac3 100644 --- a/plugins/t/check_http.t +++ b/plugins/t/check_http.t @@ -35,7 +35,7 @@ my $host_tcp_http2; if ($internet_access eq "no") { $host_tcp_http2 = getTestParameter( "NP_HOST_TCP_HTTP2", "A host providing an index page containing the string 'nagios'", - "altinity.com" ); + "www.nagios.com" ); } @@ -74,7 +74,7 @@ SKIP: { skip "No internet access and no host serving nagios in index file", 7 if $internet_access eq "no" && ! $host_tcp_http2; - $host_tcp_http2 = "altinity.com" if (! $host_tcp_http2); + $host_tcp_http2 = "www.nagios.com" if (! $host_tcp_http2); $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'nagios'" ); cmp_ok( $res->return_code, "==", 0, "Got a reference to 'nagios'"); |