diff tests/test-lock-badness.t @ 50292:adecb1ab4a0d stable

tests: add a rewriting step to detect EACCES errors
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Fri, 10 Mar 2023 18:20:19 +0000
parents f44b9c72f061
children 9da3fcc5f70f
line wrap: on
line diff
--- a/tests/test-lock-badness.t	Tue Mar 07 03:42:40 2023 +0100
+++ b/tests/test-lock-badness.t	Fri Mar 10 18:20:19 2023 +0000
@@ -135,7 +135,7 @@
   $ hg -R b push a
   pushing to a
   searching for changes
-  abort: could not lock repository a: Permission denied
+  abort: could not lock repository a: $EACCES$
   [20]
 
   $ chmod 700 a/.hg/store