tests: accept alternative privileged port allocation failure stable
authorpacien <pacien.trangirard@pacien.net>
Tue, 09 Nov 2021 02:19:43 +0100
branchstable
changeset 48314 6f43569729d4
parent 48313 bc04a7615c96
child 48315 a44bb185f6bd
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
tests/test-serve.t
--- 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