From 4c9e7e01faf054811a65e28ff95f5f949ac0eac9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 13 Nov 2009 16:38:20 +0100 Subject: [PATCH] tests: avoid a spurious timeout on a heavily-loaded system * tests/misc/timeout-parameters: This test would fail due to the 1-second timeout expiring before a command of "." could be exec'd and fail. Increase to 10 seconds. --- tests/misc/timeout-parameters | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/misc/timeout-parameters b/tests/misc/timeout-parameters index c8b1eff..f41c837 100755 --- a/tests/misc/timeout-parameters +++ b/tests/misc/timeout-parameters @@ -52,7 +52,7 @@ timeout --signal=invalid 1 sleep 0 test $? = 125 || fail=1 # invalid command -timeout 1 . +timeout 10 . test $? = 126 || fail=1 # no such command -- 2.7.4