Skip to content

[Infra][mksh] Make check.pl runner portable and separate host fixtures #41

Closed as not planned

Description

@caomengxuan666

Problem

mksh check.pl previously produced output, but the current Winuxsh-native invocation fails before running reliably with 'couldn't get current working directory'. A Git Bash retry does not repair the native Perl/cwd boundary. Historical output also mixes KSH_VERSION, TTY, noexec, exec -a, PATHSEP, and helper-executable checks with actual Bash-compatible shell semantics.

Evidence

  • Historical log: target/issue-suites/results/mksh-check.log.
  • Current failed invocation log: target/issue-suites/results/mksh-current.log.
  • Current Rubash commit: 5178166.

Acceptance

  • Run check.pl from a stable native Windows working directory.
  • Record Perl, Git Bash, Rubash, PATH, PATHSEP, TTY, temp and timeout configuration.
  • Classify host/fixture tests separately from Bash-compatible tests.
  • Produce a per-test TSV with Bash reference status, Rubash status, stdout/stderr and timeout.
  • Only then open semantic mksh directory issues.

Activity

  1. caomengxuan666 commented on Aug 21, 2026

    @caomengxuan666
    MemberAuthor

    Evidence refresh on b5e3f7b: mksh remains infrastructure-blocked. No new reproducible portable check.pl ledger was produced in this turn, so host fixtures and Bash-compatible semantics are not yet separable.

  2. caomengxuan666 commented on Sep 7, 2026

    @caomengxuan666
    MemberAuthor

    mksh check.pl 已 vendor(可复现)

    third_party/mksh/check.pl + README 已入库(上游 MirBSD/mksh 浅克隆)。README 记录了 Windows 下的已知坑:check.pl 依赖稳定 cwd 的 Perl 运行环境,历史失败源于 Windows 原生 Perl/cwd 边界;建议 WSL 下运行,被测 shell 经包装器暴露。

    分类规则:mksh 特有语义(如 [[ 的 mksh 方言差异)记为宿主证据,非 Bash 兼容 bug。提交 222a7e3(随代理恢复推送)。

    另:ksh93 套件 vendor + GNU 基线 runner 见 #42(222a7e3f 同批)。

  3. caomengxuan666 commented on Sep 11, 2026

    @caomengxuan666
    MemberAuthor

    Closing in favor of the GNU Bash 5.3.0 true-baseline measurement as the single compatibility yardstick (ledger: #62, status: docs/COMPATIBILITY-STATUS.md).

    Rationale: this is mksh runner infrastructure, and the mksh suite family is no longer maintained in parallel with the GNU baseline (83 suites, 2026-09-11 full rerun: 32 zero-diff suites, 2072 total diff lines). Portability work on the check.pl runner has no GNU-baseline consumer anymore.

    If mksh-side evidence is ever needed again, re-file against the GNU baseline ledger (#62).

  4. 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