diff tests/test-https.t @ 13424:08f9c587141f

url: merge BetterHTTPS with httpsconnection to get some proxy https validation
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 16 Feb 2011 04:36:36 +0100
parents 4e60dad2261f
children 48463d889d4e
line wrap: on
line diff
--- a/tests/test-https.t	Wed Feb 16 04:28:11 2011 +0100
+++ b/tests/test-https.t	Wed Feb 16 04:36:36 2011 +0100
@@ -261,10 +261,8 @@
 Test https with cert problems through proxy
 
   $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --config web.cacerts=pub-other.pem
-  pulling from https://localhost:$HGPORT/
-  searching for changes
-  no changes found
+  abort: error: _ssl.c:499: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
+  [255]
   $ http_proxy=http://localhost:$HGPORT1/ hg -R copy-pull pull --config web.cacerts=pub-expired.pem https://localhost:$HGPORT2/
-  pulling from https://localhost:$HGPORT2/
-  searching for changes
-  no changes found
+  abort: error: _ssl.c:499: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
+  [255]