# HG changeset patch # User Matt Harbison # Date 2024-10-04 15:10:45 # Node ID fdb1971bf6348beeb672722399c7aab27e69d2cd # Parent f4c0380815618b5bc6ce8c86b8764d9895da1e55 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. diff --git a/tests/test-status-eacces.t b/tests/test-status-eacces.t --- a/tests/test-status-eacces.t +++ b/tests/test-status-eacces.t @@ -28,13 +28,15 @@ The proliferation of status implementati $ 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