Author: gnichols
Date: 2011-11-01 19:36:45 +0000 (Tue, 01 Nov 2011)
New Revision: 1143
Modified:
trunk/tests/info/info.py
Log:
734476 - RHEL6.1 32bit/64bit V7 cert info test fail - tech preview
Modified: trunk/tests/info/info.py
===================================================================
--- trunk/tests/info/info.py 2011-11-01 19:35:05 UTC (rev 1142)
+++ trunk/tests/info/info.py 2011-11-01 19:36:45 UTC (rev 1143)
@@ -67,13 +67,13 @@
success = False
if tainted & Constants.TAINT_TECHPREVIEW_MODULE:
- modules = Command("cat /proc/modules").getStringList(regex
= "^[\s\S]+\(T\)")
+ modules = Command("cat /proc/modules").getStringList(regex
= "^(?P<mod_name>\w+)[\s\S]+\(T\)", regexGroup = "mod_name")
badModules = list()
for module in modules:
if not module in self.techPreviewModuleWhitelist:
badModules.append(module)
if badModules:
- print "Error: Tech-preview modules not in whitelist:" %
tainted
+ print "Error: Tech-preview modules not in whitelist:"
success = False
for module in badModules:
print module
Show replies by date