Skip to content

[bug] modernish cap .t suite: 5/164 capability probes diverge from GNU 5.3.0 (BUG_CSUBBTQUOT, BUG_PSUBSQUOT, BUG_SCLOSEDFD, QRK_BCDANGER, QRK_EMPTPPWRD) #258

Closed

Description

@caomengxuan666

Found by: wt5/omb lane, #252 acceptance run. After the #252 comsub fixes the modernish capability-test suite runs to completion under rubash. File-based harness (each .t sourced by a fresh child shell, rc compared; same file both shells; WSL GNU Bash 5.3.0 oracle): 164 tests, 159 rc-vectors agree, 5 diverge.

Divergences (rubash rc vs GNU rc; for BUG_/QRK_ tests rc 1 = bug absent, rc 0 = bug present):

  • cap/BUG_CSUBBTQUOT.t: rubash 0 (bug present) vs GNU 1
  • cap/BUG_PSUBSQUOT.t: rubash 0 vs GNU 1
  • cap/BUG_SCLOSEDFD.t: rubash 0 vs GNU 1
  • cap/QRK_BCDANGER.t: rubash 0 vs GNU 1
  • cap/QRK_EMPTPPWRD.t: rubash 1 vs GNU 0

Reproduction: for f in cap/.t var/.t mdl//.t: "$SHELL" -c '. "$1" >/dev/null 2>&1' x "$f"; compare rc vectors rubash vs WSL /usr/local/bin/bash. Corpus: modernish @ 63bdae0.

Artifacts: target/issue-suites/results/wt5-omb/issue-probes/modt2.rb.out and modt2.gnu.out (wt5/omb worktree).

Activity

  1. added
    bug
    on Sep 27, 2026
  2. added 2 commits that reference this issue on Sep 27, 2026
  3. caomengxuan666 commented on Sep 28, 2026

    @caomengxuan666
    MemberAuthor

    已修复并合入 master(commit 2c126128/d1e598e0,lane wt6/shell2;验证:modernish .t 166/166 rc 向量满分(原 159/164)、bats filter.bats 全平价 6/6、#273 大小写修完零快照漂移、regression 24/24)。后续边界已开单跟踪。感谢报告!

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions