From: Johannes Berg Date: Wed, 17 Aug 2022 07:17:31 +0000 (+0200) Subject: tests: hwsim: Search for UBSAN in kernel messages X-Git-Tag: hostap_2_11~1695 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c52ec086da3d18b03e23f2b3d0f10869ebd959f8;p=thirdparty%2Fhostap.git tests: hwsim: Search for UBSAN in kernel messages If UBSAN is enabled, flag errors from it. Signed-off-by: Johannes Berg --- diff --git a/tests/hwsim/check_kernel.py b/tests/hwsim/check_kernel.py index 446c9a04e..9b3dd9ad8 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|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'):