summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-09 16:04:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-09 16:04:09 +0100
commit3c67567ece6d7bf712964f06e008abede96180bf (patch)
treef5b450210220a87ae5f4c3ace4a3de92bc27ec6b /meta/lib/oeqa
parent27cbc8c5f07c46b462135b9542cdf46ab667bf36 (diff)
downloadpoky-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')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py2
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)