From: Johannes Berg Date: Fri, 17 Jul 2015 13:19:02 +0000 (+0200) Subject: tests: Catch RTNL assertions in the kernel check X-Git-Tag: hostap_2_5~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5e44b5917ab76fa55abc080e333bf5c9b15af68;p=thirdparty%2Fhostap.git tests: Catch RTNL assertions in the kernel check Catch RTNL assertions made by ASSERT_RTNL() in the kernel message checks. Signed-off-by: Johannes Berg --- diff --git a/tests/hwsim/check_kernel.py b/tests/hwsim/check_kernel.py index 9c83833b0..15e585646 100644 --- a/tests/hwsim/check_kernel.py +++ b/tests/hwsim/check_kernel.py @@ -22,7 +22,7 @@ lockdep_messages = [ 'suspicious RCU usage', ] lockdep = r'(\[\s*)?INFO: (%s)' % ('|'.join(lockdep_messages), ) -issue = re.compile('(\[[0-9 .]*\] )?(WARNING:|BUG:|%s).*' % lockdep) +issue = re.compile('(\[[0-9 .]*\] )?(WARNING:|BUG:|%s|RTNL: assertion failed).*' % lockdep) def check_kernel(logfile): for line in open(logfile, 'r'):