test(native): skip the EACCES directory diagnostic as root (#1394)
Root bypasses the mode-0 file permission this test relies on, so inventory succeeds and the expected EACCES failure never occurs. Match the root guard used by the other permission-dependent boundary tests. Claude-Session: https://claude.ai/code/session_01XPY2GmufMNGQKoEgRUx1pd Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@ import { thinMach } from "../../../../src/domain/binaryTarget.fixture.js";
|
||||
import { createTestTempDirectory } from "../../../fixtures/temporaryDirectory.js";
|
||||
|
||||
describe("artifact directory diagnostics", () => {
|
||||
it.skipIf(process.platform === "win32")(
|
||||
it.skipIf(process.platform === "win32" || process.getuid?.() === 0)(
|
||||
"preserves the inaccessible member path and errno through provider projection",
|
||||
async () => {
|
||||
const root = await createTestTempDirectory("rea-directory-eacces-");
|
||||
|
||||
Reference in New Issue
Block a user