Repository navigation
test: wave-2 pins G3147 (Refs #3147, #3148) - #3162
Merged
Merged
Conversation
GNU findcmd.c:553 sh_makepath constructs the as-written join; builtins/type.def:211 describe_command prints it verbatim. Pin covers command -v / type / type -a over relative, empty, dot, trailing-slash and absolute PATH elements plus the fresh->execute->describe chain. Expectations byte-exact from GNU bash 5.3.20 probes.
GNU execute_cmd.c:6136-6202 shell_execve classifies a failed execve: sys_error bad interpreter (no line segment, 126) for an executable #! file whose interpreter is missing, file_error (line segment) for missing/non-executable files, full_pathname report names per builtins/exec.def:172. Expectations byte-exact from GNU bash 5.3.20 probes.
Member
Author
|
【WIN-AGENT-AUDIT】 机制核查:
腿:
F 点:无。 未跑/VOID 的腿:head 分支本体复跑——同上,等价覆盖。 |
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.
第二波钉先行(G3147 组):两单的修法面被在飞 PR #3120 占着(#3147 依赖其
recorded_resolution_spelling、#3148 的分类复用同受门控),本 PR 只落回归钉与根因/修法设计(设计在车道 REPORT),门一开修法车道按钉施工。钉的期望全部按 GNU bash 5.3.20 oracle 逐字节实测,与门控 PR 结果无关。Refs #3147
Refs #3148
钉
tests/issue3147_fresh_walk_describe_spelling.rs(10 格):fresh PATH walk 的command -v/type/type -a必须打印 walk 的 as-written join(findcmd.c:553 sh_makepath;type.def:211 describe_command)。覆盖./rel1、裸相对、空元素、.、尾随斜杠、绝对元素(对照)、type -a 混合元素、fresh→执行→再 describe 链路、相对元素第二位、未找到(对照)。tests/issue3148_exec_bad_interpreter_classification.rs(14 格):exec内建 spawn 失败必须走 execute_cmd.c:6136-6202 shell_execve 分类——bad interpreter 走 sys_error 形(无行段、126、报告名按 exec.def:172 full_pathname),文件不存在/无执行位走 file_error 形(带行段、127/126),exec:中缀只属 PATH 搜索失败臂。覆盖行 1/行 4、子目录名、PATH walk、interp 带参、interp CRLF^M、ENOEXEC 回退、||链路、子 shell 链路、-c形与对照格。本 PR 删除了什么
无(纯测试新增)。净行数:+578(两份新钉文件),产品代码零改动。
fail-first
基底 f17644d 实跑(构建槽排队约 2 小时后获槽,合并脚本一次跑完;全量日志在车道
logs/):-c形),绿为回归锁(missing-file 已 GNU 形、ENOEXEC 回退、搜索失败、正常 exec)。