From: Christopher Faulet Date: Thu, 28 Mar 2019 17:30:42 +0000 (+0100) Subject: REGTEST: http-capture/h00000: Relax a regex matching the log message X-Git-Tag: v2.0-dev3~337 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39581bb2dec1c5374e332c16c98033b3372fefa4;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/reg-tests/http-capture/h00000.vtc b/reg-tests/http-capture/h00000.vtc index 9f6ec8c5d4..378838ee44 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 {