From: Amaury Denoyelle Date: Tue, 24 Nov 2026 15:30:55 +0000 (+0100) Subject: REGTESTS: tcp-check-ssl: also support errno reporting on second test X-Git-Url: https://git.kaiwu.me/http/%7B@url%7D?a=commitdiff_plain;h=ff6cfbdb97ae78ac07247c5b8d31f0a5c9022b28;p=haproxy.git REGTESTS: tcp-check-ssl: also support errno reporting on second test The following patch adjusts the regexp pattern tested against health check reported info, as newer OpenSSL now also provides an additional errno status. 5e92b1a23b0e7065e4dbef52c8a31d8ce03ae309 REGTESTS: tcp-check-ssl: tolerate an errno info in the SSL handshake failure This new check is fine, but the fix is not sufficient as a similar pattern is reused later. Adjust it as well to ensure the test does not fail anymore. --- diff --git a/reg-tests/checks/tcp-check-ssl.vtc b/reg-tests/checks/tcp-check-ssl.vtc index d8cca94da..ca3515f5f 100644 --- a/reg-tests/checks/tcp-check-ssl.vtc +++ b/reg-tests/checks/tcp-check-ssl.vtc @@ -23,7 +23,7 @@ syslog S3 -level notice { syslog S4 -level notice { recv - expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be4/srv failed, reason: Layer6 invalid response.+info: \"(Connection closed during SSL handshake|SSL handshake failure) at step 1 of tcp-check \\(connect\\)\".+check duration: [[:digit:]]+ms, status: 0/1 DOWN." + expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be4/srv failed, reason: Layer6 invalid response.+info: \"(Connection closed during SSL handshake|SSL handshake failure).* at step 1 of tcp-check \\(connect\\)\".+check duration: [[:digit:]]+ms, status: 0/1 DOWN." } -start