[monitoring-plugins] make check_curl test a little less specific ...
GitHub
git at monitoring-plugins.org
Thu Mar 26 01:10:12 CET 2026
Module: monitoring-plugins
Branch: master
Commit: 9d8503f90ef25b2cecd324dc118e441f40233ea8
Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
Committer: GitHub <noreply at github.com>
Date: Thu Mar 26 01:07:00 2026 +0100
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9d8503f9
make check_curl test a little less specific (#2245)
---
plugins/tests/check_curl.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/tests/check_curl.t b/plugins/tests/check_curl.t
index 94058d5b..e027b6f4 100755
--- a/plugins/tests/check_curl.t
+++ b/plugins/tests/check_curl.t
@@ -538,7 +538,7 @@ sub run_common_tests {
$result = NPTest->testCmd( "$command -u /header_broken_check" );
is( $result->return_code, 0, "header_check search for string");
- like( $result->output, '/.*HTTP/1.1 200 OK - 138 bytes in [\d\.]+ second.*/', "Output correct" );
+ like( $result->output, '/.*HTTP/1.1 200 OK - \d+ bytes in [\d\.]+ second.*/', "Output correct" );
my $cmd;
$cmd = "$command -u /slow";
More information about the Commits
mailing list