mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
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 <johannes.berg@intel.com>
This commit is contained in:
parent
f9dd43eac2
commit
c5e44b5917
@ -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'):
|
||||
|
Loading…
Reference in New Issue
Block a user