Searched hist:d314e247e1aede35cdfe448ad9262edc0d90a9ba (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/test/py/ |
| H A D | u_boot_spawn.py | d314e247e1aede35cdfe448ad9262edc0d90a9ba Fri Jan 22 19:30:07 UTC 2016 Stephen Warren <swarren@nvidia.com> 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>
|