Patchwork test-https: stabilize for Windows

login
register
mail settings
Submitter Matt Harbison
Date July 12, 2017, 2:14 a.m.
Message ID <6a82448038935002b24a.1499825689@Envy>
Download mbox | patch
Permalink /patch/22247/
State Accepted
Headers show

Comments

Matt Harbison - July 12, 2017, 2:14 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1499825217 14400
#      Tue Jul 11 22:06:57 2017 -0400
# Node ID 6a82448038935002b24af767829d3a27908050ef
# Parent  26e4ba058215e536d3827befbea99ff6203d35f8
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.
Yuya Nishihara - July 14, 2017, 12:58 p.m.
On Tue, 11 Jul 2017 22:14:49 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@yahoo.com>
> # Date 1499825217 14400
> #      Tue Jul 11 22:06:57 2017 -0400
> # Node ID 6a82448038935002b24af767829d3a27908050ef
> # Parent  26e4ba058215e536d3827befbea99ff6203d35f8
> test-https: stabilize for Windows

Queued, thanks.

Patch

diff --git a/tests/test-https.t b/tests/test-https.t
--- a/tests/test-https.t
+++ b/tests/test-https.t
@@ -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]