diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-09 16:04:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-09 16:04:09 +0100 |
commit | 3c67567ece6d7bf712964f06e008abede96180bf (patch) | |
tree | f5b450210220a87ae5f4c3ace4a3de92bc27ec6b /meta/lib/oeqa/utils | |
parent | 27cbc8c5f07c46b462135b9542cdf46ab667bf36 (diff) | |
download | poky-3c67567ece6d7bf712964f06e008abede96180bf.tar.gz |
oeqa/utils/qemurunner: Fix typo in previous commit
(From OE-Core rev: e2b4b0580cd719cf9d48576aa7d0b88e4a286921)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 49020c1e63..1abb2c1b6c 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
@@ -329,7 +329,7 @@ class QemuRunner: | |||
329 | self.logger.debug("Target didn't reach login banner in %d seconds (%s)" % | 329 | self.logger.debug("Target didn't reach login banner in %d seconds (%s)" % |
330 | (self.boottime, time.strftime("%D %H:%M:%S"))) | 330 | (self.boottime, time.strftime("%D %H:%M:%S"))) |
331 | tail = lambda l: "\n".join(l.splitlines()[-25:]) | 331 | tail = lambda l: "\n".join(l.splitlines()[-25:]) |
332 | bootlog = boolog.decode("utf-8") | 332 | bootlog = bootlog.decode("utf-8") |
333 | # in case bootlog is empty, use tail qemu log store at self.msg | 333 | # in case bootlog is empty, use tail qemu log store at self.msg |
334 | lines = tail(bootlog if bootlog else self.msg) | 334 | lines = tail(bootlog if bootlog else self.msg) |
335 | self.logger.debug("Last 25 lines of text:\n%s" % lines) | 335 | self.logger.debug("Last 25 lines of text:\n%s" % lines) |