summaryrefslogtreecommitdiff
path: root/test/py/u_boot_spawn.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-11-12 07:13:20 -0700
committerTom Rini <trini@konsulko.com>2024-11-13 12:01:35 -0600
commitf32951df40ae0c5389a480dedba2b22ba0a39a05 (patch)
treeb5460bbd5f653671f04f804986b4bfa4d768a0d6 /test/py/u_boot_spawn.py
parent8308a5eed6e6310625465449916f25b5f9a844c9 (diff)
test: Improve handling of sending commands
We expect commands to be echoed and this should happen quite quickly, since U-Boot is sitting at the prompt waiting for a command. Reduce the timeout for this situation. Try to produce a more useful error message when something goes wrong. Also handle the case where the connection has gone away since the last command was issued. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/u_boot_spawn.py')
0 files changed, 0 insertions, 0 deletions