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.
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