# HG changeset patch # User Yuya Nishihara # Date 1552794225 -32400 # 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 -r 4748938ee0c7 -r 406519302520 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: