From: Johannes Berg Date: Tue, 30 May 2017 14:29:50 +0000 (+0200) Subject: tests: Catch various lockdep warnings X-Git-Tag: hostap_2_7~1206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a95d5fdbe151dfedae4ab56a84ea9764a451c51b;p=thirdparty%2Fhostap.git 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 --- diff --git a/tests/hwsim/check_kernel.py b/tests/hwsim/check_kernel.py index 15e585646..446c9a04e 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):