]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: cut: ensure separate read paths checked
authorPádraig Brady <P@draigBrady.com>
Fri, 10 Apr 2026 10:24:58 +0000 (11:24 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 10 Apr 2026 10:24:58 +0000 (11:24 +0100)
* tests/misc/read-errors.sh: Use cut -b as that has a separate
read path to cut -c.

tests/misc/read-errors.sh

index f967a9044c093947460ea772e0f3040dc5e457c6..834440959a8bf37b19e8665cdd5c8386f66f7d4b 100755 (executable)
@@ -45,7 +45,7 @@ cksum -a sysv .
 cksum -a md5 /dev/null | sed 's|/dev/null|.|' | cksum --check
 comm . .
 csplit . 1
-cut -c1 .
+cut -b1 .
 cut -f1 .
 date -f .
 dd if=.