Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/tests/test-https.t Wed Jun 20 02:09:49 2012 +0300 +++ b/tests/test-https.t Tue Jun 19 19:45:00 2012 +0200 @@ -104,9 +104,15 @@ Test server address cannot be reused +#if windows + $ hg serve -p $HGPORT --certificate=$PRIV 2>&1 + abort: cannot start server at ':$HGPORT': (glob) + [255] +#else $ hg serve -p $HGPORT --certificate=$PRIV 2>&1 abort: cannot start server at ':$HGPORT': Address already in use [255] +#endif $ cd .. clone via pull