summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_http.t
diff options
context:
space:
mode:
authorSven Nierlein <Sven.Nierlein@consol.de>2013-12-27 00:14:50 (GMT)
committerSven Nierlein <sven@consol.de>2013-12-27 00:14:50 (GMT)
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 2908673..29cac69 100644
--- a/plugins/t/check_http.t
+++ b/plugins/t/check_http.t
@@ -82,7 +82,7 @@ SKIP: {
82 cmp_ok( $res->return_code, "==", 0, "And also when not found"); 82 cmp_ok( $res->return_code, "==", 0, "And also when not found");
83} 83}
84SKIP: { 84SKIP: {
85 skip "No internet access", 11 if $internet_access eq "no"; 85 skip "No internet access", 16 if $internet_access eq "no";
86 86
87 $res = NPTest->testCmd( 87 $res = NPTest->testCmd(
88 "./check_http --ssl www.verisign.com" 88 "./check_http --ssl www.verisign.com"