diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-29 08:11:53 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-29 08:11:53 +0100 |
commit | b208373dd8ba37d6bdbb6e9e9d979815bdd277a2 (patch) | |
tree | 55d003c5916716843b39416730f3fb757621cc41 /tests | |
parent | 0cea588ec02f4af6bf87b723eb1b8efccb8e144a (diff) | |
download | drminfo-b208373dd8ba37d6bdbb6e9e9d979815bdd277a2.tar.gz |
kernel warning
Diffstat (limited to 'tests')
-rw-r--r-- | tests/drminfo/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/drminfo/__init__.py b/tests/drminfo/__init__.py index 8fce7a4..d985314 100644 --- a/tests/drminfo/__init__.py +++ b/tests/drminfo/__init__.py @@ -138,6 +138,9 @@ class TestDRM(avocado.Test): if 'Oops: ' in msg: self.console_trace("oops") self.fail("kernel oops") + if 'WARNING: ' in msg: + self.console_trace("warn") + self.fail("kernel warn") output += msg return output |