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

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


 Module: monitoring-plugins
 Branch: master
 Commit: 9f776105d44190587a587b7398f5d907611a20b0
 Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
   Date: Mon Jun 23 13:21:25 2025 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9f776105

Reapply "check_dhcp: reduce number of tests for weird reasons"

This reverts commit 612d261cbf467c82f0dcc0ed63e7584d91f194c4.

---

 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