summaryrefslogtreecommitdiff
path: root/tests/misc/timeout-parameters
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-11-13 22:52:14 +0000
committerPádraig Brady <P@draigBrady.com>2009-11-14 13:53:17 +0000
commit9ed50481484587e683a8a644ba4a121d6a36498e (patch)
treeddcb7b7ba426ee7522c7f7f155c089d3129ad462 /tests/misc/timeout-parameters
parentc3744b25f2854628ffadb35c57305257f6144352 (diff)
downloadcoreutils-9ed50481484587e683a8a644ba4a121d6a36498e.tar.xz
tests: avoid a spurious failure on a loaded system
* 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.
Diffstat (limited to 'tests/misc/timeout-parameters')
-rwxr-xr-xtests/misc/timeout-parameters2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/timeout-parameters b/tests/misc/timeout-parameters
index f41c83717..a39c4ca72 100755
--- a/tests/misc/timeout-parameters
+++ b/tests/misc/timeout-parameters
@@ -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