aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-05-30 14:29:50 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-08 12:18:40 (GMT)
commita95d5fdbe151dfedae4ab56a84ea9764a451c51b (patch)
treee64f637385a1f5b0da2a9a209a00f8c1cca91d2d /tests
parentbfbc41eace06f581dcd080e332fc8ec049d65d9c (diff)
downloadhostap-a95d5fdbe151dfedae4ab56a84ea9764a451c51b.zip
hostap-a95d5fdbe151dfedae4ab56a84ea9764a451c51b.tar.gz
hostap-a95d5fdbe151dfedae4ab56a84ea9764a451c51b.tar.bz2
tests: Catch various lockdep warnings
Lockdep no longer prints "INFO:" but now prints "WARNING:". Also add the "*** DEADLOCK ***" string it usually prints so if it changes again we can keep finding that string. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/check_kernel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/check_kernel.py b/tests/hwsim/check_kernel.py
index 15e5856..446c9a0 100644
--- a/tests/hwsim/check_kernel.py
+++ b/tests/hwsim/check_kernel.py
@@ -21,7 +21,7 @@ lockdep_messages = [
'possible irq lock inversion dependency',
'suspicious RCU usage',
]
-lockdep = r'(\[\s*)?INFO: (%s)' % ('|'.join(lockdep_messages), )
+lockdep = r'(\[\s*)?(INFO|WARNING): (%s)|\*\*\* DEADLOCK \*\*\*' % ('|'.join(lockdep_messages), )
issue = re.compile('(\[[0-9 .]*\] )?(WARNING:|BUG:|%s|RTNL: assertion failed).*' % lockdep)
def check_kernel(logfile):