[PATCH] hwsim tests: kernel check: catch RTNL assertions

Johannes Berg johannes at sipsolutions.net
Fri Jul 17 09:19:02 EDT 2015


From: Johannes Berg <johannes.berg at intel.com>

Catch RTNL assertions made by ASSERT_RTNL() in the kernel
message checks.

Change-Id: Id34beaddc9a24dfc76c63b584e948c08bda296fd
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 9c83833b0b35..15e585646c12 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'):
-- 
2.1.4



More information about the HostAP mailing list