]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Catch RTNL assertions in the kernel check
authorJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:19:02 +0000 (15:19 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 24 Aug 2015 16:28:12 +0000 (19:28 +0300)
Catch RTNL assertions made by ASSERT_RTNL() in the kernel message
checks.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/check_kernel.py

index 9c83833b0b35e0b8abf00074f64f5f84e2775527..15e585646c12b3210abe8f5af1e35d8cb75f19df 100644 (file)
@@ -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'):