Skip to content

fix(tests): gate Windows-path literal rows to Windows (#555) - #694

Merged
caomengxuan666 merged 2 commits into
masterfrom
fix/issue555-windows-gate
Oct 17, 2026
Merged

caomengxuan666 merged 2 commits into
masterfrom
fix/issue555-windows-gate

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Test-only. 11 rows assert backslash $FIX\\d single-dir semantics, impossible on Unix (11/11 red on Android, and they cannot pass on Linux either). They now carry #[cfg(windows)] (issue144 precedent); the 11 portable no-re-expansion rows stay green everywhere (11/11 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.
mkdir/rm/rmdir literal_created assertions pin backslash $FIX\\d
single-dir semantics, impossible on Unix. 11 rows carry
#[cfg(windows)] (issue144 precedent); 11 portable rows stay green
everywhere (11/11 on Android).
@caomengxuan666
caomengxuan666 merged commit 6bfb248 into master Oct 17, 2026
8 checks passed
@caomengxuan666
caomengxuan666 deleted the fix/issue555-windows-gate 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