[PATCH] Tests: fixed stream_access_log_script.t regex

Maxim Dounin mdounin at mdounin.ru
Sat Jul 18 21:25:14 UTC 2026


# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1784409894 -10800
#      Sun Jul 19 00:24:54 2026 +0300
# Node ID 8af94668705c15b5eceb76e619c38f6a87c9f2c2
# Parent  1d795d140c1829c9a3db45a87069760ff6914afe
Tests: fixed stream_access_log_script.t regex.

diff --git a/stream_access_log_script.t b/stream_access_log_script.t
--- a/stream_access_log_script.t
+++ b/stream_access_log_script.t
@@ -70,7 +70,7 @@ http_get('/');
 
 my $log = $t->read_file('map.log');
 
-like($log, qr!start /map /map end!, 'log and map with side effects');
+like($log, qr!start \d+ \d+ end!, 'log and map with side effects');
 
 }
 



More information about the nginx-devel mailing list