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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user