Repository navigation
fix(tests): host-hygiene gates for tmp/windows-only tests (#524/#416/#328/#331) - #748
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.