tests: avoid a spurious timeout on a heavily-loaded system
authorJim Meyering <meyering@redhat.com>
Fri, 13 Nov 2009 15:38:20 +0000 (16:38 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 13 Nov 2009 15:38:20 +0000 (16:38 +0100)
* 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

index c8b1eff..f41c837 100755 (executable)
@@ -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