Skip to content
Snippets Groups Projects
Commit d314e247 authored by Stephen Warren's avatar Stephen Warren Committed by Simon Glass
Browse files

test/py: fix timeout to be absolute


Currently, Spawn.expect() imposes its timeout solely upon receipt of new
data, not on its overall operation. In theory, this could cause the
timeout not to fire if U-Boot continually generated output that did not
match the expected patterns.

Fix the code to additionally impose a timeout on overall operation, which
is the intended mode of operation.

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Reviewed-by: default avatarLukasz Majewski <l.majewski@samsung.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent b75fdc11
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment