From: Pádraig Brady Date: Sun, 11 Jan 2026 13:40:32 +0000 (+0000) Subject: tests: cksum: ensure --check diagnoses read errors X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=135dff3ad3cf01d06026fd179be294064d7c9c14;p=thirdparty%2Fcoreutils.git tests: cksum: ensure --check diagnoses read errors * tests/misc/read-errors.sh: Add a test case. Discussed in https://github.com/coreutils/coreutils/pull/167 --- diff --git a/tests/misc/read-errors.sh b/tests/misc/read-errors.sh index a9a03d2ebe..86bfe0e6fb 100755 --- a/tests/misc/read-errors.sh +++ b/tests/misc/read-errors.sh @@ -40,6 +40,7 @@ cksum -a sha3 -l 384 . cksum -a sha3 -l 512 . cksum -a sm3 . cksum -a sysv . +cksum -a md5 /dev/null | sed 's|/dev/null|.|' | cksum --check comm . . csplit . 1 cut -c1 .