diff options
| author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2022-03-15 21:50:20 +0100 |
|---|---|---|
| committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2022-03-15 21:50:20 +0100 |
| commit | 326fb6143cec235902db8cd3f959357e4d21c91a (patch) | |
| tree | 7ac2bde863e59aab60e411db7efd1a81582bbf07 | |
| parent | edf97f027bcc89c14e174243decccde5d2673c0d (diff) | |
| download | monitoring-plugins-326fb6143cec235902db8cd3f959357e4d21c91a.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 e8907184..f6aa6813 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 => 18; | 15 | plan tests => 20; |
| 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 | } |
