commit | f32951df40ae0c5389a480dedba2b22ba0a39a05 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Nov 12 07:13:20 2024 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Nov 13 12:01:35 2024 -0600 |
tree | b5460bbd5f653671f04f804986b4bfa4d768a0d6 | |
parent | 8308a5eed6e6310625465449916f25b5f9a844c9 [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>