Skip to content

test(examples): check the exact cat missing-file diagnostic - #4941

Open
autosur00 wants to merge 2 commits into
limitlessprojects:mainfrom
autosur00:bounty/42-cat-e6-output
Open

autosur00 wants to merge 2 commits into
limitlessprojects:mainfrom
autosur00:bounty/42-cat-e6-output

Conversation

@autosur00

Copy link
Copy Markdown

The example 02 acceptance runner now checks the missing-file stderr line byte for byte (E6). On main at 612440cddc1ae7f6c095db67f683f212074e19ca, Bash command substitution let a missing LF, extra LF, or NUL pass. All three regressions reproduce on that commit and fail correctly with this patch. #1067 covers stdout and #4555 covers successful copies.

Linux, Go 1.26.9 and Rust 1.99.0: 22 runner tests, all 10 real examples, and make test-quick passed (3,293 Rust tests, corpus 139/139, differential 47/47 and 92/92).

Useful improvements track. Prepared with OpenAI Codex assistance.

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