coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

hashsum: don't exit early on io errors

Open Qelxiros opened this issue 7 months ago • 3 comments

closes #7906

exact GNU behavior is as follows (the issue wasn't very clear): if an IO error is encountered (I tested with file not found and permission denied), the binary name, file name, and error are printed to stderr and the program continues. If any errors are found, the program exits with status code 1.

Qelxiros avatar May 11 '25 23:05 Qelxiros

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)

github-actions[bot] avatar May 11 '25 23:05 github-actions[bot]

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

github-actions[bot] avatar May 12 '25 01:05 github-actions[bot]

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

github-actions[bot] avatar May 14 '25 00:05 github-actions[bot]

Thanks !

RenjiSann avatar Jun 14 '25 19:06 RenjiSann