diff options
author | Aksel Sjögren <asjogren@itrsgroup.com> | 2022-11-29 13:24:07 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2022-11-29 15:38:33 (GMT) |
commit | a517c62c1b536c934c92e4ac0f75b49bab927dca (patch) | |
tree | 63c01ab14caa68a1fefff0b5aefde157986da616 /plugins | |
parent | e5db81bb29544b1be6500ad4a4dec5b4002c9962 (diff) | |
download | monitoring-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.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_http.t b/plugins/t/check_http.t index 0c86622..1ca52f6 100644 --- a/plugins/t/check_http.t +++ b/plugins/t/check_http.t | |||
@@ -103,7 +103,7 @@ SKIP: { | |||
103 | cmp_ok( $res->return_code, "==", 0, "And also when not found"); | 103 | cmp_ok( $res->return_code, "==", 0, "And also when not found"); |
104 | } | 104 | } |
105 | SKIP: { | 105 | SKIP: { |
106 | skip "No internet access", 23 if $internet_access eq "no"; | 106 | skip "No internet access", 22 if $internet_access eq "no"; |
107 | 107 | ||
108 | $res = NPTest->testCmd( | 108 | $res = NPTest->testCmd( |
109 | "./$plugin --ssl $host_tls_http" | 109 | "./$plugin --ssl $host_tls_http" |