Signed-off-by: Dylan Baker <[email protected]>
---
 framework/tests/dmesg_tests.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/framework/tests/dmesg_tests.py b/framework/tests/dmesg_tests.py
index cb450e1..63d9051 100644
--- a/framework/tests/dmesg_tests.py
+++ b/framework/tests/dmesg_tests.py
@@ -59,6 +59,18 @@ def _write_dev_kmesg():
         raise SkipTest("Writing to the ringbuffer failed")
 
 
+def test_linux_initialization():
+    """ Test that LinuxDmesg initializes """
+    dmesg = LinuxDmesg()
+    assert dmesg
+
+
+def test_dummy_initialization():
+    """ Test that DummyDmesg initializes """
+    dmesg = DummyDmesg()
+    assert dmesg
+
+
 def test_get_dmesg_dummy():
     """ Test that get_dmesg function returns a Dummy when asked """
     dummy = get_dmesg(not_dummy=False)
-- 
1.9.0

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to