commit | 2f90912abebe95372b051a0f484c4aa0ba1f7350 | [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 | f8456fac8f444a96ff9cd708088ecccc341b9b7d [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>