Skip to content

fix(tests): host-hygiene gates for tmp/windows-only tests (#524/#416/#328/#331) - #748

Merged
caomengxuan666 merged 1 commit into
masterfrom
fix/tmp-chmod-singles
Oct 17, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
fix/tmp-chmod-singles

Conversation

@caomengxuan666

@caomengxuan666 caomengxuan666 commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Test-only, one concern (host-dependent tests red off their home platform): (1) #524 sourced its helper from /tmp (unwritable on Android) — temp_dir-based probe path; (2) #416 executed a 0644 helper script (EACCES everywhere off-Windows) — chmod +x under cfg(unix); (3) #328 /var/tmp mapping test + #331 TMPDIR-injection test are Windows-only (engine arms are cfg(windows)) — #[cfg(windows)] gates. All green on Android. CI runs the standard checks.

…416)

524 sourced a helper from unwritable /tmp (temp_dir-based now).
416 executed a 0644 helper script (EACCES off-Windows; chmod +x under
cfg(unix)). Both green on Android.
@caomengxuan666 caomengxuan666 changed the title fix(tests): temp probe path and script +x in trap/comsub tests (#524/#416) fix(tests): host-hygiene gates for tmp/windows-only tests (#524/#416/#328/#331) Oct 17, 2026
@caomengxuan666
caomengxuan666 merged commit 3171d6e into master Oct 17, 2026
8 checks passed
@caomengxuan666
caomengxuan666 deleted the fix/tmp-chmod-singles branch October 17, 2026 05:20
SpookyWaste pushed a commit to SpookyWaste/rubash that referenced this pull request Nov 12, 2026
…tion (audit R1)

The README (EN+zh) and docs/platform-identity.md still taught the
pre-unixwin#748 model: "POSIX-layer children get argv verbatim" and "a native
tool gets a valid Win32 path for every operand". Current contract:
drive-form operands are translated by the engine funnel for every
child class (unixwin#592); native children receive Win32 spellings for
classified path-shaped operands, while the bare /, drive-root forms,
attached values and grammar-data operands cross verbatim (unixwin#748/unixwin#779,
R2 cleanup PR unixwin#2458). Both READMEs now defer to niubash
docs/src/windows-path-contract.md as the contract of record.

The frozen R2 rollback sentences (__RUBASH_ARGV_DIALECT=legacy) are
preserved verbatim; only the stale dialect claims around them moved.
SpookyWaste pushed a commit to SpookyWaste/rubash that referenced this pull request Nov 12, 2026
…#779 generation (audit R6)

The in-repo contract still presented the 2026-10-13 unixwin#592 model as the
latest state, including the L4 absolutism "never half of one argv
translated, half not". Updates: header names niubash
docs/src/windows-path-contract.md as the argv-dialect contract of
record; the L4 row and L4 detail bullets now carry the verbatim
classes (bare /, drive-root forms, attached values, grammar data)
that cross unchanged per unixwin#748/unixwin#779 (R2 cleanup PR unixwin#2458); the unixwin#592
section gains the 2026-11-01 correction note in the doc's own
annotation style; the audit ledger gains the unixwin#748/unixwin#779 entry.

The frozen R2 rollback clauses (__RUBASH_ARGV_DIALECT=legacy) are
byte-identical to master; only the stale dialect claims moved.
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