Repository navigation
Commit d53c8d8
committed
test(plugins): say that Windows has no chmod 000 for the project state file case (#3348)
Windows has no POSIX mode bits: `chmod 000` only toggles the read-only attribute, so the
PROJECT.md the case writes still reads, the listing names its size and hash, and the assertion
that expected `unreadable: PROJECT.md (EACCES)` fails — the red windows-latest compat leg of
run 45278160728 (job 138055341383, step "Plugin tests (project)"). The skip guard covered only
root: on Windows `process.getuid` is undefined, so `undefined === 0` is false and the case ran.
`plugins/project/test/platform.js` is the same `posix` / `win32` pair the four older plugin
suites got in #3300, and the chmod case now names both limits in its skip: a root process on
POSIX, and every Windows process. The other three cases in the file are platform-neutral and
keep running everywhere.
Docs-not-needed: the change is test-only; docs/subsystems/project.md describes the reader's
behaviour, which this change does not touch.1 parent f10b503 commit d53c8d8
2 files changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
0 commit comments