summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/dmesg.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/runtime/dmesg.py')
-rw-r--r--meta/lib/oeqa/runtime/dmesg.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/dmesg.py b/meta/lib/oeqa/runtime/dmesg.py
new file mode 100644
index 0000000000..5831471e50
--- /dev/null
+++ b/meta/lib/oeqa/runtime/dmesg.py
@@ -0,0 +1,12 @@
1import unittest
2from oeqa.oetest import oeRuntimeTest
3from oeqa.utils.decorators import *
4
5
6class 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)