mirror of
https://git.yoctoproject.org/poky
synced 2026-02-24 02:19:39 +01:00
(From OE-Core rev: 95b83084487d0712362ade8ac487999c3274bb96) Signed-off-by: Lucian Musat <georgex.l.musat@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 lines
450 B
Python
13 lines
450 B
Python
import unittest
|
|
from oeqa.oetest import oeRuntimeTest
|
|
from oeqa.utils.decorators import *
|
|
|
|
|
|
class DmesgTest(oeRuntimeTest):
|
|
|
|
@testcase(215)
|
|
@skipUnlessPassed('test_ssh')
|
|
def test_dmesg(self):
|
|
(status, output) = self.target.run('dmesg | grep -v mmci-pl18x | grep -v "error changing net interface name" | grep -iv "dma timeout" | grep -i error')
|
|
self.assertEqual(status, 1, msg = "Error messages in dmesg log: %s" % output)
|