From 9d8503f90ef25b2cecd324dc118e441f40233ea8 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 26 Mar 2026 01:07:00 +0100 Subject: 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"; -- cgit v1.2.3-74-g34f1