##// END OF EJS Templates
test-https: properly conditionalize Windows vs non-Windows output...
Matt Harbison -
r33576:5b286cfe stable
parent child Browse files
Show More
@@ -605,14 +605,12 b' Missing certificate file(s) are detected'
605
605
606 $ hg serve -p $HGPORT --certificate=/missing/certificate \
606 $ hg serve -p $HGPORT --certificate=/missing/certificate \
607 > --config devel.servercafile=$PRIV --config devel.serverrequirecert=true
607 > --config devel.servercafile=$PRIV --config devel.serverrequirecert=true
608 abort: referenced certificate file (*/missing/certificate) does not exist (glob) (windows !)
608 abort: referenced certificate file (*/missing/certificate) does not exist (glob)
609 abort: referenced certificate file (/missing/certificate) does not exist (no-windows !)
610 [255]
609 [255]
611
610
612 $ hg serve -p $HGPORT --certificate=$PRIV \
611 $ hg serve -p $HGPORT --certificate=$PRIV \
613 > --config devel.servercafile=/missing/cafile --config devel.serverrequirecert=true
612 > --config devel.servercafile=/missing/cafile --config devel.serverrequirecert=true
614 abort: referenced certificate file (*/missing/cafile) does not exist (glob) (windows !)
613 abort: referenced certificate file (*/missing/cafile) does not exist (glob)
615 abort: referenced certificate file (/missing/cafile) does not exist (no-windows !)
616 [255]
614 [255]
617
615
618 Start hgweb that requires client certificates:
616 Start hgweb that requires client certificates:
@@ -657,14 +655,12 b' with client certificate:'
657 Missing certficate and key files result in error
655 Missing certficate and key files result in error
658
656
659 $ hg id https://localhost:$HGPORT/ --config auth.l.cert=/missing/cert
657 $ hg id https://localhost:$HGPORT/ --config auth.l.cert=/missing/cert
660 abort: certificate file (*/missing/cert) does not exist; cannot connect to localhost (glob) (windows !)
658 abort: certificate file (*/missing/cert) does not exist; cannot connect to localhost (glob)
661 abort: certificate file (/missing/cert) does not exist; cannot connect to localhost (no-windows !)
662 (restore missing file or fix references in Mercurial config)
659 (restore missing file or fix references in Mercurial config)
663 [255]
660 [255]
664
661
665 $ hg id https://localhost:$HGPORT/ --config auth.l.key=/missing/key
662 $ hg id https://localhost:$HGPORT/ --config auth.l.key=/missing/key
666 abort: certificate file (*/missing/key) does not exist; cannot connect to localhost (glob) (windows !)
663 abort: certificate file (*/missing/key) does not exist; cannot connect to localhost (glob)
667 abort: certificate file (/missing/key) does not exist; cannot connect to localhost (no-windows !)
668 (restore missing file or fix references in Mercurial config)
664 (restore missing file or fix references in Mercurial config)
669 [255]
665 [255]
670
666
General Comments 0
You need to be logged in to leave comments. Login now