Mercurial > hg-stable
changeset 41329:406519302520 stable
test-https: add some more known failure messages of client certs (issue6030)
I don't think the exact error message is important here. On Debian sid,
ECONNRESET is raised, and "[SSL] tlsv13 alert certificate required" on NetBSD.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 17 Mar 2019 12:43:45 +0900 |
parents | 4748938ee0c7 |
children | 4ea21df312ec |
files | tests/test-https.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-https.t Sun Mar 17 12:37:57 2019 +0900 +++ b/tests/test-https.t Sun Mar 17 12:43:45 2019 +0900 @@ -630,7 +630,7 @@ $ P="$CERTSDIR" hg id https://localhost:$HGPORT/ warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?) - abort: error: *handshake failure* (glob) + abort: error: .*(\$ECONNRESET\$|certificate required|handshake failure).* (re) [255] with client certificate: