From d0edeec1009f1149956ee2a95dc5941aff8f78b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Ari=C3=B1o?= Date: Sun, 11 Oct 2026 20:35:31 +0200 Subject: [PATCH] test(native): skip the inaccessible-directory diagnostic as root (#1900) The artifact directory diagnostic makes a bundle member unreadable with mode 000 and expects inventory_artifact to report its path and EACCES. Root ignores the mode, so the read succeeds and the test fails when the suite runs as uid 0 (for example in a container). Skip it there with the same process.getuid?.() === 0 condition the DMG EACCES diagnostic uses.