diff options
Diffstat (limited to 'plugins/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 3ecc0ac..c98b4ac 100644 --- a/plugins/t/check_http.t +++ b/plugins/t/check_http.t | |||
@@ -35,7 +35,7 @@ my $host_tcp_http2; | |||
35 | if ($internet_access eq "no") { | 35 | if ($internet_access eq "no") { |
36 | $host_tcp_http2 = getTestParameter( "NP_HOST_TCP_HTTP2", | 36 | $host_tcp_http2 = getTestParameter( "NP_HOST_TCP_HTTP2", |
37 | "A host providing an index page containing the string 'nagios'", | 37 | "A host providing an index page containing the string 'nagios'", |
38 | "altinity.com" ); | 38 | "www.nagios.com" ); |
39 | } | 39 | } |
40 | 40 | ||
41 | 41 | ||
@@ -74,7 +74,7 @@ SKIP: { | |||
74 | skip "No internet access and no host serving nagios in index file", | 74 | skip "No internet access and no host serving nagios in index file", |
75 | 7 if $internet_access eq "no" && ! $host_tcp_http2; | 75 | 7 if $internet_access eq "no" && ! $host_tcp_http2; |
76 | 76 | ||
77 | $host_tcp_http2 = "altinity.com" if (! $host_tcp_http2); | 77 | $host_tcp_http2 = "www.nagios.com" if (! $host_tcp_http2); |
78 | 78 | ||
79 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'nagios'" ); | 79 | $res = NPTest->testCmd( "./check_http -H $host_tcp_http2 -r 'nagios'" ); |
80 | cmp_ok( $res->return_code, "==", 0, "Got a reference to 'nagios'"); | 80 | cmp_ok( $res->return_code, "==", 0, "Got a reference to 'nagios'"); |