diff options
| author | Pádraig Brady <P@draigBrady.com> | 2025-11-08 10:14:38 +0000 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2025-11-08 10:14:38 +0000 |
| commit | cc88c2a8071c34b801841e3ac50f56ef00ef28d9 (patch) | |
| tree | 1c2c0c65e425d1325b639d4f95afc7d4a478b116 | |
| parent | build: update gnulib submodule to latest (diff) | |
| download | coreutils-cc88c2a8071c34b801841e3ac50f56ef00ef28d9.tar.gz coreutils-cc88c2a8071c34b801841e3ac50f56ef00ef28d9.zip | |
tests: avoid false failure due to small timeout
* tests/tail/tail-c.sh: Tests that fail after a timeout
should use as least 10s to avoid intermittent failures
on slow/loaded hosts.
| -rwxr-xr-x | tests/tail/tail-c.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tail/tail-c.sh b/tests/tail/tail-c.sh index 23519918b..9672b9fb6 100755 --- a/tests/tail/tail-c.sh +++ b/tests/tail/tail-c.sh @@ -43,7 +43,7 @@ compare exp out || fail=1 # Any part of /dev/urandom, if it exists, should be valid for tail -c. if test -r /dev/urandom; then # Or at least it should not read it forever - timeout --verbose 1 tail -c 4096 /dev/urandom >/dev/null 2>err + timeout --verbose 10 tail -c 4096 /dev/urandom >/dev/null 2>err case $? in 0) ;; # Solaris 11 allows negative seek but then gives EINVAL on read |
