[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2067] nagiosplug/trunk/plugins/t/check_http.t
dermoth at users.sourceforge.net
dermoth at users.sourceforge.net
Wed Nov 5 01:14:37 CET 2008
Revision: 2067
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2067&view=rev
Author: dermoth
Date: 2008-11-05 00:14:37 +0000 (Wed, 05 Nov 2008)
Log Message:
-----------
Fix check_http test (altinity.com redirects now).
Modified Paths:
--------------
nagiosplug/trunk/plugins/t/check_http.t
Modified: nagiosplug/trunk/plugins/t/check_http.t
===================================================================
--- nagiosplug/trunk/plugins/t/check_http.t 2008-11-04 21:52:45 UTC (rev 2066)
+++ nagiosplug/trunk/plugins/t/check_http.t 2008-11-05 00:14:37 UTC (rev 2067)
@@ -35,7 +35,7 @@
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 "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'");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list