mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-27 01:44:21 +00:00
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.
This commit is contained in:
parent
c3744b25f2
commit
9ed5048148
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user