]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: cksum: ensure --check handles I/O errors
authoroech3 <79379754+oech3@users.noreply.github.com>
Sun, 11 Jan 2026 18:14:44 +0000 (18:14 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 11 Jan 2026 18:16:18 +0000 (18:16 +0000)
commit3a9777bdb018ef09f65cf88e1e193911dc3afccf
treef16cd630e1db2eee63ceaddbdeb8742f15525979
parent135dff3ad3cf01d06026fd179be294064d7c9c14
tests: cksum: ensure --check handles I/O errors

* tests/cksum/cksum-c.sh: Use strace to inject EIO upon read(),
and verify it's handled appropriately.
From https://github.com/coreutils/coreutils/pull/167
tests/cksum/cksum-c.sh