diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-06-20 10:53:46 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-06-20 10:53:46 +0200 |
commit | d2735eecd4c44ba4a2504304963e861a427e393e (patch) | |
tree | d87a32395cdac46f537cb6c0e7e4b251796c7aec | |
parent | 6bc2e75199519d0a7677dff09137558ef6eb761c (diff) | |
download | monitoring-plugins-d2735eecd4c44ba4a2504304963e861a427e393e.tar.gz |
Fix number of tests
-rw-r--r-- | plugins-root/t/check_icmp.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/t/check_icmp.t b/plugins-root/t/check_icmp.t index cbf3dda5..d414c3c7 100644 --- a/plugins-root/t/check_icmp.t +++ b/plugins-root/t/check_icmp.t | |||
@@ -12,7 +12,7 @@ my $allow_sudo = getTestParameter( "NP_ALLOW_SUDO", | |||
12 | "no" ); | 12 | "no" ); |
13 | 13 | ||
14 | if ($allow_sudo eq "yes" or $> == 0) { | 14 | if ($allow_sudo eq "yes" or $> == 0) { |
15 | plan tests => 40; | 15 | plan tests => 17; |
16 | } else { | 16 | } else { |
17 | plan skip_all => "Need sudo to test check_icmp"; | 17 | plan skip_all => "Need sudo to test check_icmp"; |
18 | } | 18 | } |