bug#80353: tests/misc/read-errors.sh FAILs with dash as /bin/sh

Sam James <[email protected]> Sun, 08 Feb 2026 00:41:28 +0000
Newsgroups gmane.comp.gnu.core-utils.bugs
Organization Gentoo
Message-ID <[email protected]>
(originally reported downstream at https://bugs.gentoo.org/969663)

I see 
FAIL: tests/misc/read-errors.sh
on a system with /bin/sh provided by dash rather than bash.

The error messages from dash are different:

/var/tmp/portage/sys-apps/coreutils-9.10/work/coreutils-9.10 # strace -o /dev/null -P /dev/null -e /read,splice -e fault=all:error=EIO /bin/sh -c read < /dev/null
/bin/sh: 1: read: arg count

/var/tmp/portage/sys-apps/coreutils-9.10/work/coreutils-9.10 # strace -o /dev/null -P /dev/null -e /read,splice -e fault=all:error=EIO /bin/bash -c read < /dev/null
/bin/bash: line 1: read: 0: read error: Input/output error

Full read-errors.log at
https://bugs.gentoo.org/attachment.cgi?id=954718.

thanks,
sam
signature.asc (application/pgp-signature, 418 B)
-----BEGIN PGP SIGNATURE-----

iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmmH27wbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkEeT
AQDg6gJdmluziVRO+7CR2CIB0+UQmRcxPWMbIzFW4mU7KgEA1nPwrS5cYnQtO8G+
D6+H6l0X023we7oKyycYwOxgwA8=
=g4OP
-----END PGP SIGNATURE-----