tests/test-https.t
branchstable
changeset 29617 2960ceee1948
parent 29616 3fde328d0913
child 29619 53e80179bd6a
--- a/tests/test-https.t	Tue Jul 19 19:57:34 2016 -0700
+++ b/tests/test-https.t	Tue Jul 19 20:16:51 2016 -0700
@@ -486,6 +486,12 @@
   abort: error: *unsupported protocol* (glob)
   [255]
 
+--insecure will allow TLS 1.0 connections and override configs
+
+  $ hg --config hostsecurity.minimumprotocol=tls1.2 id --insecure https://localhost:$HGPORT1/
+  warning: connection security to localhost is disabled per current settings; communication is susceptible to eavesdropping and tampering
+  5fed3813f7f5
+
 The per-host config option overrides the default
 
   $ P="$CERTSDIR" hg id https://localhost:$HGPORT/ \