test(native): skip the DMG EACCES diagnostic as root (#1584)

This commit is contained in:
Aravind Rao authored and GitHub committed 2026-10-11 18:05:24 +08:00
1 parent 6bcfeb0e55
commit 262efe6c54
1 file changed
+1 -1
@@ -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-");