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