[monitoring-plugins] check_dhcp: reduce number of tests for weird ...

Lorenz Kästle git at monitoring-plugins.org
Mon Jun 23 13:40:11 CEST 2025


 Module: monitoring-plugins
 Branch: master
 Commit: 52338c3423d4b10d2bbeec7a120c7dd2a98fa092
 Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
   Date: Mon Jun 23 12:33:28 2025 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=52338c34

check_dhcp: reduce number of tests for weird reasons

---

 plugins-root/t/check_dhcp.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins-root/t/check_dhcp.t b/plugins-root/t/check_dhcp.t
index 54949612..70392154 100644
--- a/plugins-root/t/check_dhcp.t
+++ b/plugins-root/t/check_dhcp.t
@@ -12,7 +12,7 @@ my $allow_sudo = getTestParameter( "NP_ALLOW_SUDO",
                                    "no" );
 
 if ($allow_sudo eq "yes" or $> == 0) {
-    plan tests => 8;
+    plan tests => 7;
 } else {
     plan skip_all => "Need sudo to test check_dhcp";
 }



More information about the Commits mailing list