From: Christopher Faulet Date: Tue, 24 Nov 2026 14:47:26 +0000 (+0100) Subject: REGTESTS: tcp-check-ssl: tolerate an errno info in the SSL handshake failure X-Git-Url: https://git.kaiwu.me/http/%7B@url%7D?a=commitdiff_plain;h=5e92b1a23b0e7065e4dbef52c8a31d8ce03ae309;p=haproxy.git REGTESTS: tcp-check-ssl: tolerate an errno info in the SSL handshake failure With some recent SSL libraries, the info reported by the health check on server be3/srv may include an errno info after the "SSL handshake failure" message (e.g. "SSL handshake failure (broken pipe)"), making the S3 syslog expectation fail to match. The pattern now tolerates any suffix inside the info quotes, after the two known messages. --- diff --git a/reg-tests/checks/tcp-check-ssl.vtc b/reg-tests/checks/tcp-check-ssl.vtc index da7f22d39..d8cca94da 100644 --- a/reg-tests/checks/tcp-check-ssl.vtc +++ b/reg-tests/checks/tcp-check-ssl.vtc @@ -18,7 +18,7 @@ syslog S_ok -level notice { syslog S3 -level notice { recv - expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be3/srv failed, reason: Layer6 invalid response.+info: \"(Connection closed during SSL handshake|SSL handshake failure)\".+check duration: [[:digit:]]+ms, status: 0/1 DOWN." + expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be3/srv failed, reason: Layer6 invalid response.+info: \"(Connection closed during SSL handshake|SSL handshake failure).*\".+check duration: [[:digit:]]+ms, status: 0/1 DOWN." } -start syslog S4 -level notice {