Repository navigation
test: wave-2 pins B1 (Refs #2634, #2641) - #3170
Merged
Merged
Conversation
caomengxuan666
marked this pull request as ready for review
November 9, 2026 08:29
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.
第二波钉先行车道 B1:只落回归钉与根因/修法设计,不含产品代码。两单的修法面被在飞 PR #2968 占着,门开后另派修法车道按本 PR 的钉与设计动手。
#2634
Refs #2634
tests/issue2634_extdebug_bash_argc_sticky.rs(13 格):extdebug 开→关后 BASH_ARGC 底层帧粘性缺失。GNU 定案:底层帧由
init_bash_argv一次性闩锁(variables.c:5640-5650),shopt -s extdebug经 builtins/shopt.def:618-626shopt_set_debug_mode触发;shopt -u不清闩。rubash 实现了函数入口(function_calls.rs:616-653)与顶层读(dynamic_arrays.rs:1399-1420)两个触发点,唯独缺 shopt 开启触发点(builtins/shopt.rs:671-675 只同步 functrace/errtrace)。期望值全部取自 GNU bash 5.3.20 oracle 实测,缺陷格与回归锁分开标注。#2641
Refs #2641
tests/issue2641_let_readonly_redirect.rs(12 格):let对只读变量的报错绕过命令级 stderr 重定向。GNU 定案:
let赋值经 expr.c:331-349expr_bind_variable,只读诊断由 error.c:455report_error在重定向已施加后写向当前 fd 2。rubash 的算术只读 reporter(src/executor/arithmetic/mod.rs:1464-1481)用裸eprintln!直写进程 stderr,绕过 executor 的重定向管线——三个求值入口(963/1161/1427)共用此一汇。期望值取自 GNU bash 5.3.20 oracle 实测;缺陷格覆盖2>&1/2>file/2>/dev/null/管道/子 shell/函数内/只读数组元/链形,回归锁覆盖无重定向/普通赋值致命形/eval 对照/除零对照。本 PR 删除了什么
无(纯测试新增)。净行数:以 diff 为准(两提交合计 +603 / −0)。
车道 REPORT(含逐单根因、fail-first 逐格结果、修法设计):
~/workspace/fix-B1/REPORT.md(本地,随交付信交队长)。