From 427f0d51320bfb99a7db812d67f8688df6bfd376 Mon Sep 17 00:00:00 2001 From: Gerkinfeltser Date: Thu, 19 Feb 2026 11:06:06 -0600 Subject: [PATCH] test: fix hardcoded path in PosixProcess test Changed hardcoded path /etc/profiles/per-user/mat/bin/ls to /bin/ls which exists on most Unix systems. The previous path was specific to the original developer's machine and failed on CI runners. --- tests/process/PosixProcess.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/process/PosixProcess.test.ts b/tests/process/PosixProcess.test.ts index 175f9d1..0d45159 100644 --- a/tests/process/PosixProcess.test.ts +++ b/tests/process/PosixProcess.test.ts @@ -12,8 +12,8 @@ describe.skipIf(process.platform === "win32")("PosixProcess", () => { }); test("returns null for existing absolute path", async () => { - // Use a binary that exists on this system (found via `which ls`) - const existingBinary = "/etc/profiles/per-user/mat/bin/ls"; + // Use a binary that exists on most Unix systems + const existingBinary = "/bin/ls"; const result = await processImpl.verifyCommand(existingBinary); expect(result).toBeNull(); });