[monitoring-plugins] Update more tests to current output

Lorenz Kästle git at monitoring-plugins.org
Thu Mar 13 15:20:14 CET 2025


 Module: monitoring-plugins
 Branch: master
 Commit: c61b5ef06a83b5fa2d48b256532f30ec5def3658
 Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
   Date: Thu Mar 13 13:21:10 2025 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c61b5ef0

Update more tests to current output

---

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

diff --git a/plugins/t/check_tcp.t b/plugins/t/check_tcp.t
index b47caab3..5c8fd0be 100644
--- a/plugins/t/check_tcp.t
+++ b/plugins/t/check_tcp.t
@@ -23,7 +23,7 @@ my $internet_access    = getTestParameter("NP_INTERNET_ACCESS", "Is this system
 
 my $successOutput = '/Connection time\s+[0-9]?\.?[0-9]+s is within thresholds+/';
 
-my $failedExpect = '/\sUnexpected response from host/socket on port [0-9]+/';
+my $failedExpect = '/Answer failed to match/';
 
 my $t;
 



More information about the Commits mailing list