Skip to content

[Compat][BusyBox][ash-quoting] Bash-compatible differences #52

Closed as not planned

Description

@caomengxuan666

Current Run

Commit: 5178166
Suite: BusyBox ash tests run through scripts/run-busybox-bash-difftest.sh
Directory: ash-quoting
Result: 10 DIFF

Raw artifact: target/issue-suites/results/busybox-bash-5178166/

Initial Cause

Backslash and quote preservation inside case, variable expansion, replacement and arithmetic contexts; owner: parameter/quote expansion.

The result compares GNU Bash and Rubash with the BusyBox harness contract: THIS_SH, test-directory PATH, TMPDIR, helper binaries and per-test timeout. Host-only ash behavior is excluded. Each row still needs a minimal Bash-compatible reproducer before implementation.

DIFF Cases

case status bash_rc rubash_rc
ash-quoting/bkslash_case1 DIFF 0 0
ash-quoting/bkslash_in_varexp DIFF 0 0
ash-quoting/dollar_altvalue1 DIFF 0 0
ash-quoting/dollar_altvalue9 DIFF 0 0
ash-quoting/dollar_repl_bash1 DIFF 0 0
ash-quoting/dollar_repl_bash2 DIFF 0 0
ash-quoting/dollar_squote_bash2 DIFF 0 1
ash-quoting/negative_arith DIFF 0 0
ash-quoting/quote_in_varexp1 DIFF 0 0
ash-quoting/squote_in_varexp1 DIFF 0 0

Acceptance

  • Classify every row as semantic, host/fixture, or runner.
  • Add a minimal Bash/Rubash regression for every semantic row.
  • Record the owning Rust subsystem and match stdout, stderr and status.
  • Keep the per-test timeout and residual-process check green.

Activity

  1. caomengxuan666 commented on Sep 7, 2026

    @caomengxuan666
    MemberAuthor

    复测(ca543d41):ash-quoting 22 项 10 PASS / 12 DIFF → 翻转 dollar_altvalue1、dollar_altvalue2,余 10

    剩余真语义候选(GNU≈busybox):

    • squote_in_varexp1/3、bkslash_in_varexp:"${v//pat/rep}" 系列中反斜杠/单引号在替换串里的字面性(Nothing:]/Nothing:a 丢失)——参数展开引号架构的核心缺口;
    • dollar_altvalue9、dollar_squote_bash1/2、negative_arith、quote_in_varexp1、quoted_punct、bkslash_case1 待甄别。

    复核产物:target/busybox-results/20260907T021443Z/(gate results.tsv、gnu-side/、rerun-side/、post-fix-match.txt、post-fix-stilldiff.txt、three-way-classification.tsv);树 = ca543d4。

  2. caomengxuan666 commented on Sep 11, 2026

    @caomengxuan666
    MemberAuthor

    Closing in favor of the GNU Bash 5.3.0 true-baseline measurement as the single compatibility yardstick (ledger: #62, status: docs/COMPATIBILITY-STATUS.md).

    Rationale: the BusyBox ash test directories are not GNU Bash upstream tests. GNU is the only suite family with a quantified baseline (83 suites, 2026-09-11 full rerun: 32 zero-diff suites, 2072 total diff lines), so per-family BusyBox/ksh93/mksh/Oil ledgers are no longer maintained in parallel.

    If any row in this run is later shown to be a real Bash-semantic gap, re-file it as a minimal Bash/Rubash reproducer against the GNU baseline ledger (#62). Raw artifacts remain under target/issue-suites/results/.

  3. added
    bug
    gnu-baseline
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggnu-baseline

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions