]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: fix false failure on loaded systems
authorPádraig Brady <P@draigBrady.com>
Mon, 1 Jun 2015 14:38:23 +0000 (15:38 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 1 Jun 2015 14:38:23 +0000 (15:38 +0100)
* tests/misc/uniq-perf.sh: Use our standard 10s timeout,
which is sufficient to trigger the failure and also
avoids a false failure on slow/loaded systems.
Noticed at http://hydra.nixos.org/build/22766288

tests/misc/uniq-perf.sh

index bd113ace380581843b7e3dc453f3b2e9471951d5..b8bac973e9698a2c6d94263a86e64d456cd83e63 100755 (executable)
@@ -20,6 +20,6 @@
 print_ver_ uniq
 
 seq 100 > in || fail=1
-timeout 1 uniq -f 10000000000 in || fail=1
+timeout 10 uniq -f 10000000000 in || fail=1
 
 Exit $fail