tests: hwsim: Search for UBSAN in kernel messages
If UBSAN is enabled, flag errors from it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
550ab94e83
commit
c52ec086da
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ lockdep_messages = [
|
||||||
'suspicious RCU usage',
|
'suspicious RCU usage',
|
||||||
]
|
]
|
||||||
lockdep = r'(\[\s*)?(INFO|WARNING): (%s)|\*\*\* DEADLOCK \*\*\*' % ('|'.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)
|
issue = re.compile('(\[[0-9 .]*\] )?(WARNING:|BUG:|UBSAN:|%s|RTNL: assertion failed).*' % lockdep)
|
||||||
|
|
||||||
def check_kernel(logfile):
|
def check_kernel(logfile):
|
||||||
for line in open(logfile, 'r'):
|
for line in open(logfile, 'r'):
|
||||||
|
|
Loading…
Reference in a new issue