changeset 51953:fdb1971bf634

tests: stabilize `test-status-eacces.t` on Windows As noted earlier, `chmod` doesn't complain in MSYS, but also doesn't alter the file permissions such that they are unreadable. I'm guessing the other lines of output in this area that are gated on `rhg` (or not) will also need this, but I don't want to dig too deeply into something that is apparently working well enough.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 04 Oct 2024 11:10:45 -0400
parents f4c038081561
children b6ce567d5bea
files tests/test-status-eacces.t
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-status-eacces.t	Fri Oct 04 01:40:35 2024 -0400
+++ b/tests/test-status-eacces.t	Fri Oct 04 11:10:45 2024 -0400
@@ -28,13 +28,15 @@
   $ touch d1/y
   $ chmod -r d1
   $ hg status
-  d1: $EACCES$
+  d1: $EACCES$ (unix-permissions !)
   ! d1/x (rhg !)
   ! d1/x (no-rhg rust !)
+  ? d1/y (no-unix-permissions !)
   $ hg status
-  d1: $EACCES$
+  d1: $EACCES$ (unix-permissions !)
   ! d1/x (rust !)
   ! d1/x (no-rust rhg !)
+  ? d1/y (no-unix-permissions !)
   $ chmod +r d1
   $ hg status
   ? d1/y