Commit Graph
2 Commits
Author SHA1 Message Date
Entrpi 967a2af48b fix(process): resolve each PATH entry only when the lookup reaches it
Candidate construction resolved every PATH entry up front, so a relative
entry after the match (PATH=/opt/rizin/bin:.) read the working directory
before the absolute entry was checked. With that directory removed, the
lookup reported no-working-directory and skipped hashing and probing,
while the bare command still ran from /opt/rizin/bin with an assumed
identity. Each entry now resolves when the search reaches it.
2026-11-01 15:43:08 +11:00
Entrpi bd2a0474fb test(rizin): move tool-identity cases to boundary and process-global projects
The tool-identity cases run the real executable lookup and file digest,
which crosses the production filesystem boundary, so they move from the
shared-worker composition project to tests/boundary/filesystem. The two
cases that replace process.cwd move to tests/process-global, whose
isolated forks keep that process-global state from leaking into other
files. The fixture, fake runner and probe count they share move to
tests/support/rizinToolIdentity.ts.
2026-11-01 15:41:56 +11:00