# HG changeset patch # User Matt Harbison # Date 1499825217 14400 # Node ID ba971f555cb0f384eba509352acc783be07f28a0 # Parent d1aa3fee4ca401ac647b14dac7a255f9a6572bf9 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. diff -r d1aa3fee4ca4 -r ba971f555cb0 tests/test-https.t --- 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]