From 97d9cebc594b311030ebfbbe574f0d7ea641629a Mon Sep 17 00:00:00 2001 From: Dai Ha Date: Tue, 25 Aug 2026 04:18:45 +0200 Subject: [PATCH] CB-634: skip the zsh scrub-report test when /bin/zsh is absent scrubWritesAnAllowedNofMReport spawned /bin/zsh with no guard, so it errored on the Gitea CI runner (Linux ARM64 container, no zsh) while the two sibling zsh tests already skipped there via assumeTrue. Add the same guard so CI skips instead of failing; the Mac build still runs it. --- .../test/java/dev/ltms/fleet/member/EnvAllowListScrubTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/fleetd/src/test/java/dev/ltms/fleet/member/EnvAllowListScrubTest.java b/fleetd/src/test/java/dev/ltms/fleet/member/EnvAllowListScrubTest.java index 77323ba..5d072be 100644 --- a/fleetd/src/test/java/dev/ltms/fleet/member/EnvAllowListScrubTest.java +++ b/fleetd/src/test/java/dev/ltms/fleet/member/EnvAllowListScrubTest.java @@ -92,6 +92,7 @@ class EnvAllowListScrubTest { /** The scrub writes its denominator report next to itself; names only, parseable. */ @Test void scrubWritesAnAllowedNofMReport(@TempDir Path tmp) throws Exception { + assumeTrue(Files.isExecutable(ZSH), "/bin/zsh not present — nothing to prove here"); Set allowed = MemberEnvAllowList.derive(List.of()); Path zdotdir = EnvAllowListScrub.generate(tmp, allowed);