You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit: 5178166
Suite: BusyBox ash tests run through scripts/run-busybox-bash-difftest.sh
Directory: ash-misc
Result: 20 DIFF
Raw artifact: target/issue-suites/results/busybox-bash-5178166/
Initial Cause
Mixed builtin/control-flow status differences including case, pipefail, eval, exit/trap, function precedence, source and unicode; split each row before fixing; owners: executor/builtins/parser.
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.
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/.
Activity
caomengxuan666 commentedon Sep 7, 2026
复测(ca543d41):ash-misc 20 行 → 97 项目录 76 PASS / 19 DIFF / 2 TIMEOUT
2f96d92(双引号内单引号字面数据)+ ca543d4(前缀赋值源顺序链式)后,本目录翻转回 GNU 一致:func_args1、local1。
剩余 19 DIFF 中,真语义候选(GNU≈busybox)包括:
a''=b true— GNU/bash rc=127(a=b: command not found,带引号的赋值名不是赋值),rubash 仍当作赋值接受;复核产物:
target/busybox-results/20260907T021443Z/(gate results.tsv、gnu-side/、rerun-side/、post-fix-match.txt、post-fix-stilldiff.txt、three-way-classification.tsv);树 = ca543d4。caomengxuan666 commentedon Sep 7, 2026
已修复:assignment2(b4c8cca0)
GNU 依据:parse.y read_token_word 调 general.c
assignment()在原始 token上逐字符判定,名字部分只允许 [A-Za-z0-9_],含任何引号/反斜杠即非赋值词。rubash 此前对去引号后的值判定(a''=b去引号变a=b),静默接受为赋值。修复:lexer/word.rs 改为按原始词名字判定;删除 assignment_dispatch.rs 的执行期重推导(execute_cmd.c 从不重推导 W_ASSIGNMENT)。脚本文件探针 7 例与 GNU 全对齐(rc 与 stderr 文本):
lib 测试维持 325 过/10 已知基线失败;剩余 13 个 parser_tests 失败经 stash 对照确认为树上既有问题(与本修复无关)。
caomengxuan666 commentedon Sep 7, 2026
已修复:assignment2(b4c8cca0)
GNU 依据:parse.y read_token_word 调 general.c
assignment()在原始 token上逐字符判定,名字部分只允许 [A-Za-z0-9_],含任何引号/反斜杠即非赋值词。rubash 此前对去引号后的值判定(a''=b去引号变a=b),静默接受为赋值。修复:lexer/word.rs 改为按原始词名字判定;删除 assignment_dispatch.rs 的执行期重推导(execute_cmd.c 从不重推导 W_ASSIGNMENT)。脚本文件探针 7 例与 GNU 全对齐(rc 与 stderr 文本):
lib 测试维持 325 过/10 已知基线失败;剩余 13 个 parser_tests 失败经 stash 对照确认为树上既有问题(与本修复无关)。
caomengxuan666 commentedon Sep 7, 2026
批量复跑确认(b4c8cca0 二进制,104 个非 PASS 行全量重跑)
产物:
target/busybox-results/20260907T021443Z/post-fix-match.txt、post-fix-stilldiff.txt(其余 88 行的剩余根因分析进行中)。caomengxuan666 commentedon Sep 11, 2026
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/.