Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | import unittest |
| 2 | from oeqa.oetest import oeRuntimeTest |
| 3 | from oeqa.utils.decorators import * |
| 4 | |
| 5 | |
| 6 | class DmesgTest(oeRuntimeTest): |
| 7 | |
| 8 | @testcase(215) |
| 9 | @skipUnlessPassed('test_ssh') |
| 10 | def test_dmesg(self): |
| 11 | (status, output) = self.target.run('dmesg | grep -v mmci-pl18x | grep -v "error changing net interface name" | grep -iv "dma timeout" | grep -v usbhid | grep -i error') |
| 12 | self.assertEqual(status, 1, msg = "Error messages in dmesg log: %s" % output) |