Skip to content
Commit a7257253 authored by Richard Purdie's avatar Richard Purdie Committed by Anuj Mittal
Browse files

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: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 396a3ba8)
Signed-off-by: default avatarAnuj Mittal <anuj.mittal@intel.com>
parent 000feb98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment