# HG changeset patch # User Yuya Nishihara # Date 2019-03-17 03:43:45 # Node ID 406519302520f72044c76256e2d345297a5f1596 # Parent 4748938ee0c742006f8cef4db0f2ca4963abd930 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. diff --git a/tests/test-https.t b/tests/test-https.t --- a/tests/test-https.t +++ b/tests/test-https.t @@ -630,7 +630,7 @@ without client certificate: $ 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: