diff mbox

hwsim tests: kernel check: catch RTNL assertions

Message ID 1437139142-30267-1-git-send-email-johannes@sipsolutions.net
State Accepted
Headers show

Commit Message

Johannes Berg July 17, 2015, 1:19 p.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

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

Change-Id: Id34beaddc9a24dfc76c63b584e948c08bda296fd
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 tests/hwsim/check_kernel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jouni Malinen Aug. 24, 2015, 4:59 p.m. UTC | #1
On Fri, Jul 17, 2015 at 03:19:02PM +0200, Johannes Berg wrote:
> Catch RTNL assertions made by ASSERT_RTNL() in the kernel
> message checks.

Thanks, applied.
diff mbox

Patch

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'):