changeset 17020:e0d9a3bfe406

test-static-http: partially adapt for Windows
author Adrian Buehlmann <adrian@cadifra.com>
date Tue, 19 Jun 2012 19:28:55 +0200
parents 5d0538599428
children 955662c1d0e9
files tests/test-static-http.t
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-static-http.t	Tue Jun 19 17:05:04 2012 +0200
+++ b/tests/test-static-http.t	Tue Jun 19 19:28:55 2012 +0200
@@ -1,8 +1,14 @@
   $ "$TESTDIR/hghave" serve || exit 80
 
+#if windows
+  $ hg clone http://localhost:$HGPORT/ copy
+  abort: * (glob)
+  [255]
+#else
   $ hg clone http://localhost:$HGPORT/ copy
   abort: error: Connection refused
   [255]
+#endif
   $ test -d copy
   [1]