projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3744b2
)
tests: avoid a spurious failure on a loaded system
author
Pádraig Brady
<P@draigBrady.com>
Fri, 13 Nov 2009 22:52:14 +0000
(22:52 +0000)
committer
Pá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
patch
|
blob
|
history
diff --git
a/tests/misc/timeout-parameters
b/tests/misc/timeout-parameters
index f41c837176501da40a4076e3211fdcf032913cbe..a39c4ca72da8d0770e8f4c0c1e4bf04519c5cdf7 100755
(executable)
--- 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 1
0
no_such
test $? = 127 || fail=1
Exit $fail