test_shred_dash_rejects_stdout_pipe intermittent failure
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 65/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- rust
- 领域
- testing-qa
调研方向
从 tests/by-util/test_shred.rs 第 676 行附近、针对 test_shred_dash_rejects_stdout_pipe 的断言开始,并反复只运行该测试(例如在循环中运行 cargo test --test by-util test_shred_dash_rejects_stdout_pipe)来复现间歇性通过。阅读该测试如何启动命令并向已关闭的 stdout 管道写入,因为竞态很可能出在测试设置中,或出在退出状态的捕获方式上。完成意味着该测试在多次运行中稳定通过,修复要么在测试的时序/管道处理中,要么在它所覆盖的 shred 错误路径中。
由索引模型根据 Issue 内容生成。
描述
thread 'test_shred::test_shred_dash_rejects_stdout_pipe' panicked at tests/by-util/test_shred.rs:676:10:
Command was expected to fail.
- 主要语言
- Rust
- 星标
- 24.4k
- 派生
- 2.2k
- 平均合并
- 3 天 6 小时
- 30 天内合并 PR
- 434
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
uutils/coreutils 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
chown -v: `+ID` spec echoed verbatim on a broken symlink可能已有人在做 @sunsss123soldier 于 2 天前认领。 未关闭good first issue oss-scanner U - chown
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复
-
dircolors: --csh doesn't escape `!`可能已有人在做 @majidninja 于 2 天前认领。 未关闭good first issue oss-scanner U - dircolors
难度 2/5 1-3 小时 新手友好度 72/100
uutils/coreutils#16496 · 1 条评论 ·
维护者通常 1 天内回复
-
dircolors: directory operand exits 2 with a custom message, GNU prints 'read error: Is a directory' and exits 1可能已有人在做 @emirmrkaljevic 于 3 天前认领。 未关闭U - dircolors
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
test_hostid.rs lacks test cases with frozen ip addr e.g. unshare -ru sh -c "hostname 127.0.0.1 && hostid"可能已有人在做 @costajohnt 于 3 天前认领。 未关闭U - hostid
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
相似的 Issue
-
ai_p2
难度 2/5 1-3 小时 新手友好度 80/100
ClickHouse/ClickHouse#132519 ·
维护者通常 1 天内回复
-
Pattern-clip compiler tests miss the clip cap, sort order, muted output and count/emit agreement未关闭area: engine type: test
难度 2/5 1-3 小时 新手友好度 76/100
YuriiMurha/grooviq#224 ·
维护者通常 1 天内回复
-
state:needs triage
难度 2/5 1-3 小时 新手友好度 83/100
zed-industries/zed#67109 · 1 条评论 ·
维护者通常 1 天内回复
-
bug priority: medium
难度 2/5 1-3 小时 新手友好度 78/100
storytold/photocraft#15500 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复