test(ci): provide proc metadata for Linux hopper fixtures

This commit is contained in:
morluto
2026-10-14 03:02:01 +08:00
parent d5b5441a3a
commit b3a60b6b03
2 changed files with 7 additions and 1 deletions
@@ -74,7 +74,11 @@ it
if (alternateMode) {
const processEntry = join(procRoot, String(pid));
await mkdir(processEntry);
await symlink(`/proc/${String(pid)}/exe`, join(processEntry, "exe"));
for (const name of ["cmdline", "comm", "exe"])
await symlink(
`/proc/${String(pid)}/${name}`,
join(processEntry, name),
);
}
const { stdout: coordinates } = await execFileAsync("ps", [
"-p",