tests/test-http-bundle1.t
changeset 35233 1b22d325089c
parent 35074 62e10bf001a9
child 36256 f718e8ec1c82
child 36754 e3c228b4510d
--- a/tests/test-http-bundle1.t	Sat Dec 02 20:10:58 2017 -0500
+++ b/tests/test-http-bundle1.t	Sat Dec 02 20:03:28 2017 -0500
@@ -26,15 +26,10 @@
 
 Test server address cannot be reused
 
-#if windows
   $ hg serve -p $HGPORT1 2>&1
-  abort: cannot start server at 'localhost:$HGPORT1': * (glob)
+  abort: cannot start server at 'localhost:$HGPORT1': $EADDRINUSE$
   [255]
-#else
-  $ hg serve -p $HGPORT1 2>&1
-  abort: cannot start server at 'localhost:$HGPORT1': Address already in use
-  [255]
-#endif
+
   $ cd ..
   $ cat hg1.pid hg2.pid >> $DAEMON_PIDS