From f4562cac26a8f601c8d7721b5d21d6a235c547e8 Mon Sep 17 00:00:00 2001 From: m5r Date: Sat, 12 Sep 2026 10:43:02 +0200 Subject: [PATCH] filter: skip the read-only directory test as root, ci's runner ignores mode bits --- src/filter/filter_integration_test.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/filter/filter_integration_test.zig b/src/filter/filter_integration_test.zig index 1e328e4..935970f 100644 --- a/src/filter/filter_integration_test.zig +++ b/src/filter/filter_integration_test.zig @@ -1067,6 +1067,8 @@ test "6: a 404 leaves the compiled files and the snapshot untouched" { test "6b: a local failure reports itself, not the previous source's network fault" { if (!build_options.integration) return error.SkipZigTest; + // Mode bits do not apply to root, so the denial the test needs cannot happen. + if (std.c.geteuid() == 0) return error.SkipZigTest; const gpa = testing.allocator; const env = try Env.create(gpa);