Patchwork [STABLE] tests: glob over ssl error

login
register
mail settings
Submitter Gregory Szorc
Date July 28, 2016, 3:53 p.m.
Message ID <dee24c87dbf0052c1816.1469721227@ubuntu-vm-main>
Download mbox | patch
Permalink /patch/15994/
State Accepted
Headers show

Comments

Gregory Szorc - July 28, 2016, 3:53 p.m.
# HG changeset patch
# User Gregory Szorc <gregory.szorc@gmail.com>
# Date 1469721216 25200
#      Thu Jul 28 08:53:36 2016 -0700
# Branch stable
# Node ID dee24c87dbf0052c18160b57f17ddbd001bbdd9c
# Parent  8421cbebc783e7f3cb17cfb62b4095113f8d666b
tests: glob over ssl error

We do this in the rest of the file. This bad line was introduced in
3fde328d0913.
Yuya Nishihara - July 29, 2016, 12:44 p.m.
On Thu, 28 Jul 2016 08:53:47 -0700, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc@gmail.com>
> # Date 1469721216 25200
> #      Thu Jul 28 08:53:36 2016 -0700
> # Branch stable
> # Node ID dee24c87dbf0052c18160b57f17ddbd001bbdd9c
> # Parent  8421cbebc783e7f3cb17cfb62b4095113f8d666b
> tests: glob over ssl error

Sure, queued this, thanks.

Patch

diff --git a/tests/test-https.t b/tests/test-https.t
--- a/tests/test-https.t
+++ b/tests/test-https.t
@@ -522,17 +522,17 @@  The per-host config option by itself wor
   $ cat >> copy-pull/.hg/hgrc << EOF
   > [hostsecurity]
   > localhost:minimumprotocol=tls1.2
   > EOF
   $ P="$CERTSDIR" hg -R copy-pull id https://localhost:$HGPORT/
   (could not negotiate a common security protocol (tls1.2+) with localhost; the likely cause is Mercurial is configured to be more secure than the server can support)
   (consider contacting the operator of this server and ask them to support modern TLS protocol versions; or, set hostsecurity.localhost:minimumprotocol=tls1.0 to allow use of legacy, less secure protocols when communicating with this server)
   (see https://mercurial-scm.org/wiki/SecureConnections for more info)
-  abort: error: [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:590)
+  abort: error: *unsupported protocol* (glob)
   [255]
 
   $ killdaemons.py hg0.pid
   $ killdaemons.py hg1.pid
   $ killdaemons.py hg2.pid
 #endif
 
 Prepare for connecting through proxy