Skip to content

fix: strict bashdb fixture gate and issue 615 runtime paths - #625

Merged
caomengxuan666 merged 2 commits into
masterfrom
fix/issue-615
Oct 15, 2026
Merged

caomengxuan666 merged 2 commits into
masterfrom
fix/issue-615

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Summary

  • Add RUBASH_REQUIRE_BASHDB_FIXTURE=1 for the dedicated bashdb fixture gate.
  • Keep ordinary compatibility-suite missing-launcher behavior as an explicit non-coverage skip.
  • Repair inherited stdin duplication and embedded cp source/. failure status/diagnostics.
  • Add independent negative/production regression tests and ownership documentation.

Evidence

  • issue615_bashdb_fixture_gate: 4/4 on Linux and Windows.
  • issue615_inherited_stdin: 3/3 on Linux and Windows.
  • issue615_copy_contents: 4/4 on Linux and Windows.
  • git diff --check and cargo fmt --check pass.
  • The dedicated strict script returns 101 when the launcher is absent; the ordinary suite returns 0 with an explicit SKIP ... no bashdb coverage.

GNU references

  • Bash third_party/bash/redir.c:767, duplication around 1115, and dup2(redir_fd, redirector) around 1170.
  • Coreutils 9.11 src/copy.c:1623, stat/recursion handling at 1671-1685, and overwrite rejection at 1880-1892.

Scope and remaining work

  • compound_assignment_splits_unquoted_associative_array_element remains red on Linux and Windows and is tracked independently by rubash#621; scalar control reproduces the same field-splitting defect.
  • This PR does not claim rubash#615 closure, Android validation, or full-workspace validation.
  • No runtime workaround or broad ignore is added.

Add an explicit RUBASH_REQUIRE_BASHDB_FIXTURE gate so missing external launchers fail only in the dedicated fixture suite while ordinary compatibility runs remain visibly non-coverage skips. Repair inherited stdin duplication and cp source/. error status handling against GNU Bash redir.c and coreutils copy.c behavior. Keep the indexed compound expansion gap open under rubash#621; this commit does not claim issue #615 closure.
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