Skip to content

fix(tests): portable probe dir and shebang in script-isolation tests (#363) - #693

Merged
caomengxuan666 merged 1 commit into
masterfrom
fix/issue363-android-paths
Oct 17, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
fix/issue363-android-paths

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Test-only. Hardcoded /tmp/i363-probe (no /tmp on Termux) and #!/usr/bin/env bash (no /usr/bin/env) failed all 9 tests at spawn time. Probe dir is now temp-dir-based via $I363_PROBE; shebangs use /bin/sh (property under test is 'has a shebang'; bodies are POSIX). 9/9 green on Android; CI runs the standard checks.

…363)

Hardcoded /tmp/i363-probe fails on Android (no /tmp) and
#!/usr/bin/env bash fails (no /usr/bin/env): 9/9 red before any
isolation semantics run. Probe dir now temp_dir()-based, exported as
$I363_PROBE (same value every call, parallel-safe); shebangs use
/bin/sh (property under test is 'has a shebang'; bodies are POSIX).
9/9 green on Android.
@caomengxuan666
caomengxuan666 merged commit c7472ac into master Oct 17, 2026
8 checks passed
@caomengxuan666
caomengxuan666 deleted the fix/issue363-android-paths branch October 17, 2026 02:07
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