]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: fix false failure with dash or ksh
authorPádraig Brady <P@draigBrady.com>
Sun, 8 Feb 2026 19:52:46 +0000 (19:52 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 8 Feb 2026 19:52:46 +0000 (19:52 +0000)
* tests/misc/read-errors.sh: Avoid dash or ksh as they
do _not_ print an error message upon EIO from read.
Fixes https://bugs.gnu.org/80353

tests/misc/read-errors.sh

index c05516505b1d406e151667aea7524b5405aed112..1e2bd6f027db2529352ab97c1b131d696d1c3050 100755 (executable)
@@ -17,6 +17,7 @@
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
+require_bash_as_SHELL_
 uses_strace_
 
 ! cat . >/dev/null 2>&1 || skip_ "Need unreadable directories"