tests/test-commandserver.t
changeset 40362 2f1edf5e0a4b
parent 40361 b7de186efd82
child 40470 d6b6f1b441cf
--- a/tests/test-commandserver.t	Tue Oct 16 08:41:58 2018 +0200
+++ b/tests/test-commandserver.t	Tue Oct 16 08:48:23 2018 +0200
@@ -793,13 +793,13 @@
   ...             break
   >>> check(earlycrash, server.connect)
   e, 'Traceback (most recent call last):\n'
-  e, "IOError: *" (glob)
+  e, "(IOError|FileNotFoundError): .*" (re)
   >>> server.shutdown()
 
   $ cat .hg/server.log | grep -v '^  '
   listening at .hg/server.sock
   Traceback (most recent call last):
-  IOError: * (glob)
+  (IOError|FileNotFoundError): .* (re)
   killed!
 #endif
 #if no-unix-socket