]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: ensure utilities correctly diagnose read errors
authorPádraig Brady <P@draigBrady.com>
Tue, 13 Jan 2026 02:04:11 +0000 (02:04 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 13 Jan 2026 15:08:04 +0000 (15:08 +0000)
commit92d80b67cfcc991cc5aceb488a974abedbda9a58
tree8bb97029ea98207c7370ef731a6d7797a93f1741
parent495e3528d7c3a9e9e1fc793efecb749b40f130af
tests: ensure utilities correctly diagnose read errors

* tests/misc/read-errors.sh: Ensure each utility calls a
read system call as requested.  Not doing so (say by avoiding
reading from a directory) is a layering violation.
Also ensure we diagnose the particular error encountered.
tests/misc/read-errors.sh