diff tests/test-serve.t @ 48314:6f43569729d4 stable

tests: accept alternative privileged port allocation failure This registers an additional failure message on failed privileged port allocation, equally funcionally valid but previously not handled and causing the test to fail when run in the NixOS sandbox. Differential Revision: https://phab.mercurial-scm.org/D11741
author pacien <pacien.trangirard@pacien.net>
date Tue, 09 Nov 2021 02:19:43 +0100
parents a8deb9dc39da
children 9c5e743e400c
line wrap: on
line diff
--- a/tests/test-serve.t	Tue Nov 09 02:16:43 2021 +0100
+++ b/tests/test-serve.t	Tue Nov 09 02:19:43 2021 +0100
@@ -57,6 +57,7 @@
   $ hgserve -p daytime
   abort: cannot start server at 'localhost:13': Permission denied (?)
   abort: child process failed to start (?)
+  abort: no port number associated with service 'daytime' (?)
   listening at http://localhost/ (bound to $LOCALIP:13) (?)
   % errors
   $ KILLQUIETLY=N