From 262efe6c54d8f179e9f9515d96025871ae45806a Mon Sep 17 00:00:00 2001 From: Aravind Rao <135997804+rekcilyssup@users.noreply.github.com> Date: Sun, 11 Oct 2026 15:35:24 +0530 Subject: [PATCH] test(native): skip the DMG EACCES diagnostic as root (#1584) --- tests/boundary/providers/native/nativeDmgArtifactReader.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/boundary/providers/native/nativeDmgArtifactReader.test.ts b/tests/boundary/providers/native/nativeDmgArtifactReader.test.ts index 7ec3edc604..add877996a 100644 --- a/tests/boundary/providers/native/nativeDmgArtifactReader.test.ts +++ b/tests/boundary/providers/native/nativeDmgArtifactReader.test.ts @@ -1028,7 +1028,7 @@ describe("native DMG real verification diagnostics", () => { }, ); - it.skipIf(process.platform !== "darwin")( + it.skipIf(process.platform !== "darwin" || process.getuid?.() === 0)( "classifies real hdiutil target access failures as I/O, separately from malformed images", async () => { const root = await createTestTempDirectory("rea-dmg-target-errors-");