Skip to content

fix(tests): resolve external true via PATH in fd-offset tests (#655) - #687

Merged
caomengxuan666 merged 1 commit into
masterfrom
fix/issue655-true-path-guard
Oct 16, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
fix/issue655-true-path-guard

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Test-only follow-up of #684. The hardcoded /usr/bin/true does not exist on Android (Termux has no /usr/bin), so the external spawn failed with 127 and the tests failed for host reasons. Resolve true via PATH at test time (absolute path keeps the spawn external, bypassing the builtin); skip with a message when absent. Both tests now pass on Android. No executor changes; CI runs the standard checks.

The hardcoded /usr/bin/true does not exist on Android (no /usr/bin
on Termux), failing the spawn with 127. Resolve via PATH at test time
(absolute path keeps it external, bypassing the builtin); skip when
absent. Both tests green on Android now.
@caomengxuan666
caomengxuan666 merged commit 7a9a06b into master Oct 16, 2026
8 checks passed
@caomengxuan666
caomengxuan666 deleted the fix/issue655-true-path-guard branch October 16, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant