1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-14 03:12:10 +02:00

tests: tail: avoid a test failure on GNU/Hurd

* tests/tail/tail-c.sh: Allow 'tail -c 4096 /dev/urandom' to run forever
on GNU/Hurd since lseek fails with ESPIPE.
This commit is contained in:
Collin Funk
2025-11-07 22:15:37 -08:00
parent cc38da00ef
commit 56fc0e6f8d

View File

@@ -55,7 +55,8 @@ if test -r /dev/urandom; then
[12].*) ;; # Older Linux versions timeout
*) fail=1 ;;
esac ;;
*) fail=1 ;;
# GNU/Hurd cannot seek on /dev/urandom.
*) test "$(uname)" = GNU || fail=1 ;;
esac ;;
esac
fi