diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-01-22 12:30:07 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-28 21:01:22 -0700 |
commit | d314e247e1aede35cdfe448ad9262edc0d90a9ba (patch) | |
tree | de081e8583beeca04b7ae5c747c633d7829666d4 /test/py/conftest.py | |
parent | b75fdc11ebcd3607f840a00363679a3a5cbc8da4 (diff) | |
download | u-boot-imx-d314e247e1aede35cdfe448ad9262edc0d90a9ba.zip u-boot-imx-d314e247e1aede35cdfe448ad9262edc0d90a9ba.tar.gz u-boot-imx-d314e247e1aede35cdfe448ad9262edc0d90a9ba.tar.bz2 |
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: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/conftest.py')
0 files changed, 0 insertions, 0 deletions