From patchwork Sun Mar 17 03:56:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2, of, 2, STABLE] test-https: add some more known failure messages of client certs (issue6030) From: Yuya Nishihara X-Patchwork-Id: 39307 Message-Id: <52525ca12c946540be1d.1552795005@mimosa> To: mercurial-devel@mercurial-scm.org Date: Sun, 17 Mar 2019 12:56:45 +0900 # HG changeset patch # User Yuya Nishihara # Date 1552794225 -32400 # Sun Mar 17 12:43:45 2019 +0900 # Branch stable # Node ID 52525ca12c946540be1db063e2c46c787379caa5 # Parent 13ee301f9ecedcb8b087c1e71dc535fa1fdf19be 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: