From c5e44b5917ab76fa55abc080e333bf5c9b15af68 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Fri, 17 Jul 2015 15:19:02 +0200 Subject: [PATCH] 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 --- 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 9c83833b0..15e585646 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: (%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'):