tests/test-https.t
changeset 49279 127d33e63d1a
parent 49058 d8a38186a092
parent 49277 51b07ac1991c
child 49525 c7c437f35687
--- a/tests/test-https.t	Thu Jun 02 23:57:56 2022 +0200
+++ b/tests/test-https.t	Wed Jun 08 15:46:04 2022 +0200
@@ -491,6 +491,13 @@
   abort: error: *certificate verify failed* (glob)
   [100]
 
+Test when proxy can't connect to server
+
+  $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --insecure https://localhost:0/
+  pulling from https://localhost:0/
+  abort: error: Tunnel connection failed: 404 Connection refused
+  [100]
+
 
   $ killdaemons.py hg0.pid