Skip to content

feat(tests): POSIX conformance coverage gate (Phase 4)#21

Merged
Charliechen114514 merged 1 commit into
mainfrom
feat/posix-coverage
Jul 14, 2026
Merged

feat(tests): POSIX conformance coverage gate (Phase 4)#21
Charliechen114514 merged 1 commit into
mainfrom
feat/posix-coverage

Conversation

@Charliechen114514

Copy link
Copy Markdown
Member

tests/posix/coverage.sh: measures cfbox POSIX.1-2017 XCU conformance on two dimensions — standalone applet coverage (static vs cfbox --list) and shell builtin coverage (dynamic behavior probe via cfbox sh -c, not declaration). Baseline gate enforces 'only up, never down' (COVERAGE.md spirit): a drop below tests/posix/baseline fails CI. Current floor: utility 61/77 (79%), builtin 10/20 (50%), total 73%.

Already surfaced real gaps: dd (P0 utility) missing, and 10 sh builtins absent (command/type/exec/getopts/hash/umask/ulimit/wait/times/unalias) — queued as follow-up batches, not fixed here.

CI: added to native stage after structure gates.

tests/posix/coverage.sh: measures cfbox POSIX.1-2017 XCU conformance on two
dimensions — standalone applet coverage (static vs cfbox --list) and shell
builtin coverage (dynamic behavior probe via cfbox sh -c, not declaration).
Baseline gate enforces 'only up, never down' (COVERAGE.md spirit): a drop
below tests/posix/baseline fails CI. Current floor: utility 61/77 (79%),
builtin 10/20 (50%), total 73%.

Already surfaced real gaps: dd (P0 utility) missing, and 10 sh builtins
absent (command/type/exec/getopts/hash/umask/ulimit/wait/times/unalias) —
queued as follow-up batches, not fixed here.

CI: added to native stage after structure gates.
@Charliechen114514
Charliechen114514 merged commit 7105bae into main Jul 14, 2026
8 checks passed
@Charliechen114514
Charliechen114514 deleted the feat/posix-coverage branch July 14, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant