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.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/dmesg.py b/meta/lib/oeqa/runtime/dmesg.py
new file mode 100644
index 0000000..64247ea
--- /dev/null
+++ b/meta/lib/oeqa/runtime/dmesg.py
@@ -0,0 +1,11 @@
1import unittest
2from oeqa.oetest import oeRuntimeTest
3from oeqa.utils.decorators import *
4
5
6class DmesgTest(oeRuntimeTest):
7
8 @skipUnlessPassed('test_ssh')
9 def test_dmesg(self):
10 (status, output) = self.target.run('dmesg | grep -v mmci-pl18x | grep -v "error changing net interface name" | grep -iv "dma timeout" | grep -i error')
11 self.assertEqual(status, 1, msg = "Error messages in dmesg log: %s" % output)