]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/qemurunner: Fix binary vs str issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 May 2021 17:12:15 +0000 (18:12 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 14 May 2021 17:16:38 +0000 (07:16 -1000)
commit8f24a7b35861b6aec39bc8d589e090ea9816732c
treea5f159aa99b81b6e694fa3867d0de0307403d76d
parent57249316b6c66c5e17804e1b04f2d5cf0db92683
oeqa/qemurunner: Fix binary vs str issue

The recent logging changes for qemurunner showed up as errors on the
autobuilder where decode couldn't be called on the returned string.
Since the code returns binary data, return b'' instead of '' to match
to avoid tracebacks.

One of these cases was newly added, copied from the other which has
been there for a long time, always broken.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b8995b27db265b0a0b2d2ca595915f70f9f96e07)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/utils/qemurunner.py