]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: hwsim: Search for UBSAN in kernel messages
authorJohannes Berg <johannes.berg@intel.com>
Wed, 17 Aug 2022 07:17:31 +0000 (09:17 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 16 Sep 2022 18:39:44 +0000 (21:39 +0300)
If UBSAN is enabled, flag errors from it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/check_kernel.py

index 446c9a04e91489c996ed36b9c3fee9bdf4174074..9b3dd9ad84d8e6d4c6118c0119536cc050ba6c2d 100644 (file)
@@ -22,7 +22,7 @@ lockdep_messages = [
   'suspicious RCU usage',
 ]
 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):
     for line in open(logfile, 'r'):