tests: stabilize `test-status-eacces.t` on Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 04 Oct 2024 11:10:45 -0400
changeset 51953 fdb1971bf634
parent 51952 f4c038081561
child 51954 b6ce567d5bea
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.
tests/test-status-eacces.t
--- 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