Skip to content

test-maintenance: ecosweep4-B stale white-box/carryrier assertions (72 reds across parser/lexer/coproc/utf8/cli + type_p harness cwd) — batch update against GNU 5.3.0 probes #373

Closed

Description

@caomengxuan666

Umbrella from the ecosweep4-B 274-red triage (wt23/bats364 lane, 2026-10-01; full table in docs/ecosweep4-B-reds-triage-2026-10-01.md on the lane branch). These are assertions that no longer match the (correct or GNU-equivalent) current behavior — NOT shell bugs. Each item below carries its probe evidence; fix the TESTS, not the engine.

White-box structural drift (58)

GNU-counter-evidenced stale expectations (5)

Test-harness assumptions (3+1)

  • type_p_flag_regressions 3: scripts don't cd into the fixture dir, so PATH= type -p e searches the crate root and misses. With the correct cwd, rubash prints ./e rc=0, byte-identical to GNU 5.3.0 (probe target/typep2.sh).
  • cli_tests examples::gnu_dirstack: cwd-dependent dirstack output assertion — re-check intent.

Known pre-existing (out of scope here; bashdb family)

  • 12 bashdb_compat reds + invalid_cli_shopt_option: reproduce on base 62c7e5f per the 8f8caca commit message — tracked by the bashdb lane, do not double-count.

Activity

  1. added a commit that references this issue on Oct 1, 2026
  2. caomengxuan666 commented on Oct 2, 2026

    @caomengxuan666
    MemberAuthor

    wt33/testmaint pass (branch wt33/testmaint, commits f16a997f, aa3deb18, 29c3d6be):

  3. added 3 commits that reference this issue on Oct 2, 2026
  4. caomengxuan666 commented on Oct 2, 2026

    @caomengxuan666
    MemberAuthor

    Cleared by wt33/testmaint (f16a997f aa3deb18 29c3d6be on master): the true in-register count was 88 reds, now ZERO — 84 stale expectations flipped with per-case WSL GNU 5.3.0 file probes (compound-assignment RUBASH_CA1 marker, carrier encodings, {fd}->redirects[].fd_var, #381 empty-case family now syntax errors, extglob parse-gate preconditions, TIMEFORMAT/utf8-xquote/$0 forms), 4 harness bugs fixed (type_p fixture cwd; parser EXTGLOB_PARSE_GATE mutex + trailing shopt -u — this was a real flake source from the parse gate being process-global), and 8 genuine gaps filed NOT fixed in product per the mandate: #384-#391 (see each). cli_tests' remaining 13 bashdb items were explicitly out of the umbrella.

  5. added
    tests
    on Oct 17, 2026
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

    tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions