comparison tests/test-https.t @ 17023:3e2d8120528b

test-http and test-https: partially adapt for Windows
author Adrian Buehlmann <adrian@cadifra.com>
date Tue, 19 Jun 2012 19:45:00 +0200
parents e7fdfc702d9f
children 28ed1c4511ce
comparison
equal deleted inserted replaced
17022:8a38839ae1dc 17023:3e2d8120528b
102 abort: could not find web.cacerts: no-such.pem 102 abort: could not find web.cacerts: no-such.pem
103 [255] 103 [255]
104 104
105 Test server address cannot be reused 105 Test server address cannot be reused
106 106
107 #if windows
108 $ hg serve -p $HGPORT --certificate=$PRIV 2>&1
109 abort: cannot start server at ':$HGPORT': (glob)
110 [255]
111 #else
107 $ hg serve -p $HGPORT --certificate=$PRIV 2>&1 112 $ hg serve -p $HGPORT --certificate=$PRIV 2>&1
108 abort: cannot start server at ':$HGPORT': Address already in use 113 abort: cannot start server at ':$HGPORT': Address already in use
109 [255] 114 [255]
115 #endif
110 $ cd .. 116 $ cd ..
111 117
112 clone via pull 118 clone via pull
113 119
114 $ hg clone https://localhost:$HGPORT/ copy-pull 120 $ hg clone https://localhost:$HGPORT/ copy-pull