[PATCH] tests: hwsim: search for UBSAN in kernel messages
Johannes Berg
johannes at sipsolutions.net
Wed Aug 17 00:17:31 PDT 2022
From: Johannes Berg <johannes.berg at intel.com>
If UBSAN is enabled, flag errors from it.
Signed-off-by: Johannes Berg <johannes.berg at intel.com>
---
tests/hwsim/check_kernel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/hwsim/check_kernel.py b/tests/hwsim/check_kernel.py
index 446c9a04e914..9b3dd9ad84d8 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'):
--
2.37.2
More information about the Hostap
mailing list