tests: avoid a spurious failure on a loaded system
authorPádraig Brady <P@draigBrady.com>
Fri, 13 Nov 2009 22:52:14 +0000 (22:52 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 14 Nov 2009 13:53:17 +0000 (13:53 +0000)
* tests/misc/timeout-parameters: This test could fail due to
the 1-second timeout expiring before a command of "no_such"
could be exec'd and fail.  Increase to 10 seconds.

tests/misc/timeout-parameters

index f41c837176501da40a4076e3211fdcf032913cbe..a39c4ca72da8d0770e8f4c0c1e4bf04519c5cdf7 100755 (executable)
@@ -56,7 +56,7 @@ timeout 10 .
 test $? = 126 || fail=1
 
 # no such command
-timeout 1 no_such
+timeout 10 no_such
 test $? = 127 || fail=1
 
 Exit $fail