From 39581bb2dec1c5374e332c16c98033b3372fefa4 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 28 Mar 2019 18:30:42 +0100 Subject: [PATCH] REGTEST: http-capture/h00000: Relax a regex matching the log message Size reported in logs may differ between legacy HTTP and HTX, at least for now. So in the regtest http-capture/h00000.vtc, we need to relax the regex matching the log message. --- reg-tests/http-capture/h00000.vtc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reg-tests/http-capture/h00000.vtc b/reg-tests/http-capture/h00000.vtc index 9f6ec8c5d..378838ee4 100644 --- a/reg-tests/http-capture/h00000.vtc +++ b/reg-tests/http-capture/h00000.vtc @@ -7,7 +7,7 @@ feature ignore_unknown_macro syslog S -level info { recv - expect ~ "[^:\\[ ]\\[${h_pid}\\]: .* .* fe be/srv .* 200 17641 - - ---- .* .* {HPhx8n59qjjNBLjP} {htb56qDdCcbRVTfS} \"GET / HTTP/1\\.1\"" + expect ~ "[^:\\[ ]\\[${h_pid}\\]: .* .* fe be/srv .* 200 1[0-9]{4} - - ---- .* .* {HPhx8n59qjjNBLjP} {htb56qDdCcbRVTfS} \"GET / HTTP/1\\.1\"" } -start server s {