tests/test-worker.t
changeset 45825 8f07f5a9c3de
parent 44248 12491abf93bd
child 45903 64faa55716f4
--- a/tests/test-worker.t	Tue Nov 03 09:56:02 2020 -0800
+++ b/tests/test-worker.t	Sat Nov 07 21:50:28 2020 -0800
@@ -85,11 +85,12 @@
   [255]
 
   $ hg --config "extensions.t=$abspath" --config 'worker.numcpus=8' \
-  > test 100000.0 abort --traceback 2>&1 | egrep '(SystemExit|Abort)'
+  > test 100000.0 abort --traceback 2>&1 | egrep '(WorkerError|Abort)'
       raise error.Abort(b'known exception')
   mercurial.error.Abort: known exception (py3 !)
   Abort: known exception (no-py3 !)
-  SystemExit: 255
+      raise error.WorkerError(status)
+  mercurial.error.WorkerError: 255
 
 Traceback must be printed for unknown exceptions