Skip to content

Commit b38ff31

Browse files
test(server): keep the PATH parity test valid under vp's traced test runner
vp's task cache preloads fspy, whose execve stops the PATH search at a script with a missing interpreter, so the native baseline itself failed in CI. A non-executable candidate ahead of the CLI keeps the same coverage. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 6df32aa commit b38ff31

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/server/src/process/NonBlockingSpawner.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe.skipIf(HostProcess.Platform.defaultValue() !== "linux")("NonBlockingSpa
8181
const fileSystem = yield* FileSystem.FileSystem;
8282
const root = yield* fileSystem.realPath(yield* fileSystem.makeTempDirectoryScoped());
8383
const scripts = {
84-
stale: "#!/t3code-missing-interpreter\n",
84+
stale: "#!/bin/sh\necho stale\n",
8585
fresh: "#!/bin/sh\necho fresh\n",
8686
"target/bin": "#!/bin/sh\necho target\n",
8787
};
@@ -90,6 +90,7 @@ describe.skipIf(HostProcess.Platform.defaultValue() !== "linux")("NonBlockingSpa
9090
yield* fileSystem.writeFileString(`${root}/${directory}/tool`, body);
9191
yield* fileSystem.chmod(`${root}/${directory}/tool`, 0o755);
9292
}
93+
yield* fileSystem.chmod(`${root}/stale/tool`, 0o644);
9394
yield* fileSystem.makeDirectory(`${root}/target/subdir`);
9495
yield* fileSystem.symlink(`${root}/target/subdir`, `${root}/link`);
9596
for (const PATH of [`${root}/stale:${root}/fresh`, `${root}/link/../bin`]) {

0 commit comments

Comments
 (0)