summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-03-26 01:07:00 +0100
committerGitHub <noreply@github.com>2026-03-26 01:07:00 +0100
commit9d8503f90ef25b2cecd324dc118e441f40233ea8 (patch)
tree3aac5b08453a5a71dd1fb5a66a69de4b50f59b58
parent2d4f98f50b3470852aea99c61c64cfc11405a8fc (diff)
downloadmonitoring-plugins-9d8503f90ef25b2cecd324dc118e441f40233ea8.tar.gz
make check_curl test a little less specific (#2245)HEADmaster
-rwxr-xr-xplugins/tests/check_curl.t2
1 files changed, 1 insertions, 1 deletions
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 {
538 538
539 $result = NPTest->testCmd( "$command -u /header_broken_check" ); 539 $result = NPTest->testCmd( "$command -u /header_broken_check" );
540 is( $result->return_code, 0, "header_check search for string"); 540 is( $result->return_code, 0, "header_check search for string");
541 like( $result->output, '/.*HTTP/1.1 200 OK - 138 bytes in [\d\.]+ second.*/', "Output correct" ); 541 like( $result->output, '/.*HTTP/1.1 200 OK - \d+ bytes in [\d\.]+ second.*/', "Output correct" );
542 542
543 my $cmd; 543 my $cmd;
544 $cmd = "$command -u /slow"; 544 $cmd = "$command -u /slow";