aboutsummaryrefslogtreecommitdiff
path: root/plugins/t/check_http.t
diff options
context:
space:
mode:
authorGravatar Sven Nierlein <Sven.Nierlein@consol.de> 2013-12-27 01:14:50 +0100
committerGravatar Sven Nierlein <sven@consol.de> 2013-12-27 01:14:50 +0100
commitd8354ec15d05241dd28891771609839b73507d28 (patch)
treef714f8c23ddb677b51b3e0fc48b283ad075bc5fa /plugins/t/check_http.t
parent3887bb31f9a1ca343cbca47cd3e35ad7b48fc995 (diff)
downloadmonitoring-plugins-d8354ec15d05241dd28891771609839b73507d28.tar.gz
fixed tests when there is no direct internet connection
- check http had wrong number of skipped tests - check tcp did not use the 'no internet' flag at all
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 29086737..29cac698 100644
--- a/plugins/t/check_http.t
+++ b/plugins/t/check_http.t
@@ -82,7 +82,7 @@ SKIP: {
cmp_ok( $res->return_code, "==", 0, "And also when not found");
}
SKIP: {
- skip "No internet access", 11 if $internet_access eq "no";
+ skip "No internet access", 16 if $internet_access eq "no";
$res = NPTest->testCmd(
"./check_http --ssl www.verisign.com"