comparison 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
comparison
equal deleted inserted replaced
48313:bc04a7615c96 48314:6f43569729d4
55 #if no-windows 55 #if no-windows
56 $ KILLQUIETLY=Y 56 $ KILLQUIETLY=Y
57 $ hgserve -p daytime 57 $ hgserve -p daytime
58 abort: cannot start server at 'localhost:13': Permission denied (?) 58 abort: cannot start server at 'localhost:13': Permission denied (?)
59 abort: child process failed to start (?) 59 abort: child process failed to start (?)
60 abort: no port number associated with service 'daytime' (?)
60 listening at http://localhost/ (bound to $LOCALIP:13) (?) 61 listening at http://localhost/ (bound to $LOCALIP:13) (?)
61 % errors 62 % errors
62 $ KILLQUIETLY=N 63 $ KILLQUIETLY=N
63 #endif 64 #endif
64 65