mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 05:03:03 +01:00
oeqa/runtime/parselogs.py: Fix dmesg log retrieve in sato
Sato uses busybox that fails to write log using echo "" because dmesg output can contain special characters. [YOCTO #8377] (From OE-Core rev: 89107d0e01235b8cff70c0325723d2a99d2c336c) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
dd26efba06
commit
61e77c7166
@@ -233,8 +233,7 @@ class ParseLogsTest(oeRuntimeTest):
|
||||
|
||||
#get the output of dmesg and write it in a file. This file is added to log_locations.
|
||||
def write_dmesg(self):
|
||||
(status, dmesg) = self.target.run("dmesg")
|
||||
(status, dmesg2) = self.target.run("echo \""+str(dmesg)+"\" > /tmp/dmesg_output.log")
|
||||
(status, dmesg) = self.target.run("dmesg > /tmp/dmesg_output.log")
|
||||
|
||||
@testcase(1059)
|
||||
@skipUnlessPassed('test_ssh')
|
||||
|
||||
Reference in New Issue
Block a user