]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Catch various lockdep warnings
authorJohannes Berg <johannes.berg@intel.com>
Tue, 30 May 2017 14:29:50 +0000 (16:29 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 8 Jul 2017 12:18:40 +0000 (15:18 +0300)
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>
tests/hwsim/check_kernel.py

index 15e585646c12b3210abe8f5af1e35d8cb75f19df..446c9a04e91489c996ed36b9c3fee9bdf4174074 100644 (file)
@@ -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):