diff options
| author | Collin Funk <collin.funk1@gmail.com> | 2025-11-07 22:15:37 -0800 |
|---|---|---|
| committer | Collin Funk <collin.funk1@gmail.com> | 2025-11-08 11:43:07 -0800 |
| commit | 56fc0e6f8d4d7cce77fa36a4dd2500b3841645ef (patch) | |
| tree | dc5266fb2bce3e1d7f075317a086b1543cb1164d | |
| parent | chcon: fix memory leak in error path (diff) | |
| download | coreutils-master.tar.gz coreutils-master.zip | |
* tests/tail/tail-c.sh: Allow 'tail -c 4096 /dev/urandom' to run forever
on GNU/Hurd since lseek fails with ESPIPE.
| -rwxr-xr-x | tests/tail/tail-c.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tail/tail-c.sh b/tests/tail/tail-c.sh index 9672b9fb6..23cef1ce8 100755 --- a/tests/tail/tail-c.sh +++ b/tests/tail/tail-c.sh @@ -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 |
