Skip to content

pr: ignore stdin write errors in the non-UTF-8 file name tests - #16656

Merged
cakebaker merged 1 commit into
uutils:mainfrom
binhvq:pr-non-utf8-tests-stdin
Nov 18, 2026
Merged

cakebaker merged 1 commit into
uutils:mainfrom
binhvq:pr-non-utf8-tests-stdin

Conversation

@binhvq

@binhvq binhvq commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Closes #16655

Both tests pipe input into pr next to a file operand to check that stdin is left alone. pr never reads it, so the write sometimes hit a closed pipe and the test panicked. They now use ignore_stdin_write_error().

@github-actions

Copy link
Copy Markdown

Binary size comparison:

Individual binary size comparison VS main (threshold: >=5% AND >=4 KB).

Total size of compared binaries: 155.49 MB (+108 KB, +0.07%)

Significant per-binary changes:
  env     1.20 MB ->    1.28 MB  (+80 KB, +6.51%)

@cakebaker
cakebaker merged commit 722f540 into uutils:main Nov 18, 2026
94 of 97 checks passed
@cakebaker

Copy link
Copy Markdown
Contributor

Thanks!

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.

test_pr: the non-UTF-8 file name tests fail intermittently

2 participants