[PATCH 3 of 5 stable] tests: update test-serve.t to use $EACCES$

Mads Kiilerich mads at kiilerich.com
Wed Mar 22 16:24:59 UTC 2023


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1679494603 -3600
#      Wed Mar 22 15:16:43 2023 +0100
# Branch stable
# Node ID d641581ee136281971555adc05049b826e995fed
# Parent  0a2a580319267132acd4ab558b0bfcd4f995a50f
tests: update test-serve.t to use $EACCES$

diff --git a/tests/test-serve.t b/tests/test-serve.t
--- a/tests/test-serve.t
+++ b/tests/test-serve.t
@@ -55,7 +55,7 @@ With -v and -p daytime
 #if no-windows
   $ KILLQUIETLY=Y
   $ hgserve -p daytime
-  abort: cannot start server at 'localhost:13': Permission denied (?)
+  abort: cannot start server at 'localhost:13': $EACCES$ (?)
   abort: child process failed to start (?)
   abort: no port number associated with service 'daytime' (?)
   listening at http://localhost/ (bound to $LOCALIP:13) (?)



More information about the Mercurial-devel mailing list