test-https: add some more known failure messages of client certs (issue6030) stable
authorYuya Nishihara <yuya@tcha.org>
Sun, 17 Mar 2019 12:43:45 +0900
branchstable
changeset 41975 406519302520
parent 41974 4748938ee0c7
child 41977 4ea21df312ec
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.
tests/test-https.t
--- 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: