summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <[email protected]>2025-04-08 13:44:18 -0700
committerJim Meyering <[email protected]>2025-04-08 13:44:18 -0700
commit6c92d5fb8f1ed866a8bbc8e7be83c05645eca7d9 (patch)
tree6d07e978d9c45709b90cbcbfcb90cdc4c30d98b7
parent7e539773134e331b0bf5f44868cc099043423692 (diff)
downloaddiffutils-6c92d5fb8f1ed866a8bbc8e7be83c05645eca7d9.tar.gz
tests: cmp: increase timeout to avoid failure on a very busy-IO system
* tests/cmp: Increase timeout from 0.1 to 0.4s, to avoid false-failure on a system with lots of IO congestion. Reported by Nelson Beebe in https://lists.gnu.org/r/diffutils-devel/2025-04/msg00007.html
-rwxr-xr-xtests/cmp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cmp b/tests/cmp
index 0c7fa15..b8e4864 100755
--- a/tests/cmp
+++ b/tests/cmp
@@ -247,7 +247,7 @@ cmp -i 1000 -n $big j1 j2 || fail=1
rm -f a b
if timeout 0.1 true && truncate -s 14T a && truncate -s 15T b; then
- returns_ 1 timeout 0.1 cmp a b >/dev/null || fail=1
+ returns_ 1 timeout 0.4 cmp a b >/dev/null || fail=1
fi
rm -f a b