]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/qemurunner: Improve handling of run_serial for shutdown commands
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 May 2021 09:59:44 +0000 (10:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 May 2021 22:23:23 +0000 (23:23 +0100)
commit396a3ba884820d040c91f7592daf20ac28c49b5d
tree4a6a3e26b4a9ac26c7c6e6943f795a7a4d985b00
parentb8995b27db265b0a0b2d2ca595915f70f9f96e07
oeqa/qemurunner: Improve handling of run_serial for shutdown commands

When running a shutdown command, the serial port can close without the
command returning. This is seen as the socket being readable but having
no data. Change the way this case is handled in the code to avoid
tracebacks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py