]> git.tokkee.org Git - nagiosplug.git/commitdiff

Code

Fix check_http test (altinity.com redirects now).
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>
Wed, 5 Nov 2008 00:14:37 +0000 (00:14 +0000)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>
Wed, 5 Nov 2008 00:14:37 +0000 (00:14 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2067 f882894a-f735-0410-b71e-b25c423dba1c

plugins/t/check_http.t

index 3ecc0ac53afb73631ebcc849faddc91569a2c08f..c98b4ac324acb129fb2c7a776aec8ca0f24c3860 100644 (file)
@@ -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'");