aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Aksel Sjögren <asjogren@itrsgroup.com> 2022-11-29 14:24:07 +0100
committerGravatar Sven Nierlein <sven@nierlein.org> 2022-11-29 16:38:33 +0100
commita517c62c1b536c934c92e4ac0f75b49bab927dca (patch)
tree63c01ab14caa68a1fefff0b5aefde157986da616 /plugins
parente5db81bb29544b1be6500ad4a4dec5b4002c9962 (diff)
downloadmonitoring-plugins-a517c62c1b536c934c92e4ac0f75b49bab927dca.tar.gz
check_http: fix test plan
Fix test plan when run with NP_INTERNET_ACCESS=no, where the correct number of steps must be skipped. Caused by a removed test in 65fc7064295ac70d1388fa4db4d4d2cddd531e24. Signed-off-by: Aksel Sjögren <asjogren@itrsgroup.com>
Diffstat (limited to 'plugins')
-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 0c866229..1ca52f61 100644
--- a/plugins/t/check_http.t
+++ b/plugins/t/check_http.t
@@ -103,7 +103,7 @@ SKIP: {
cmp_ok( $res->return_code, "==", 0, "And also when not found");
}
SKIP: {
- skip "No internet access", 23 if $internet_access eq "no";
+ skip "No internet access", 22 if $internet_access eq "no";
$res = NPTest->testCmd(
"./$plugin --ssl $host_tls_http"