Skip to content

head: continue processing files even if one has io error#11911

Draft
iburaky2 wants to merge 3 commits intouutils:mainfrom
iburaky2:fix/head-continue-on-io-err
Draft

head: continue processing files even if one has io error#11911
iburaky2 wants to merge 3 commits intouutils:mainfrom
iburaky2:fix/head-continue-on-io-err

Conversation

@iburaky2
Copy link
Copy Markdown
Contributor

@iburaky2 iburaky2 commented Apr 20, 2026

Currently head exits with an error when it encounters an I/O error, whereas GNU head continues with the rest of the files provided in the arguments. Closes #11846

@oech3

This comment was marked as resolved.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 20, 2026

GNU testsuite comparison:

GNU test failed: tests/head/head-write-error. tests/head/head-write-error is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/tail/pid-pipe. tests/tail/pid-pipe is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/tail/tail-n0f (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/tty/tty-eof (passes in this run but fails in the 'main' branch)

@iburaky2 iburaky2 marked this pull request as draft April 20, 2026 05:34
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.

head: head /proc/self/men file does not show content of file

2 participants