changeset 33422:ba971f555cb0

test-https: stabilize for Windows A leading '/' without a following drive letter is resolved to the location of the MSYS installation. These could be collapsed into a single line of output, but this seems more self documenting.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 11 Jul 2017 22:06:57 -0400
parents d1aa3fee4ca4
children 0e2a6841ac5e
files tests/test-https.t
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-https.t	Tue Jul 11 16:48:15 2017 -0700
+++ b/tests/test-https.t	Tue Jul 11 22:06:57 2017 -0400
@@ -598,12 +598,14 @@
 
   $ hg serve -p $HGPORT --certificate=/missing/certificate \
   > --config devel.servercafile=$PRIV --config devel.serverrequirecert=true
-  abort: referenced certificate file (/missing/certificate) does not exist
+  abort: referenced certificate file (*/missing/certificate) does not exist (glob) (windows !)
+  abort: referenced certificate file (/missing/certificate) does not exist (no-windows !)
   [255]
 
   $ hg serve -p $HGPORT --certificate=$PRIV \
   > --config devel.servercafile=/missing/cafile --config devel.serverrequirecert=true
-  abort: referenced certificate file (/missing/cafile) does not exist
+  abort: referenced certificate file (*/missing/cafile) does not exist (glob) (windows !)
+  abort: referenced certificate file (/missing/cafile) does not exist (no-windows !)
   [255]
 
 Start hgweb that requires client certificates:
@@ -647,12 +649,14 @@
 Missing certficate and key files result in error
 
   $ hg id https://localhost:$HGPORT/ --config auth.l.cert=/missing/cert
-  abort: certificate file (/missing/cert) does not exist; cannot connect to localhost
+  abort: certificate file (*/missing/cert) does not exist; cannot connect to localhost (glob) (windows !)
+  abort: certificate file (/missing/cert) does not exist; cannot connect to localhost (no-windows !)
   (restore missing file or fix references in Mercurial config)
   [255]
 
   $ hg id https://localhost:$HGPORT/ --config auth.l.key=/missing/key
-  abort: certificate file (/missing/key) does not exist; cannot connect to localhost
+  abort: certificate file (*/missing/key) does not exist; cannot connect to localhost (glob) (windows !)
+  abort: certificate file (/missing/key) does not exist; cannot connect to localhost (no-windows !)
   (restore missing file or fix references in Mercurial config)
   [255]