Author: gnichols Date: 2011-03-11 13:23:13 +0000 (Fri, 11 Mar 2011) New Revision: 811
Modified: trunk/tests/info/info.py trunk/v7/tags.py Log: 676239 - v7 Coverage for loading Tech Preview device drivers in RHEL6.1
Modified: trunk/tests/info/info.py =================================================================== --- trunk/tests/info/info.py 2011-03-11 13:18:40 UTC (rev 810) +++ trunk/tests/info/info.py 2011-03-11 13:23:13 UTC (rev 811) @@ -66,6 +66,8 @@ success = False if tainted & Constants.TAINT_PROPRIETARY_MODULE: print "Please remove the non-GPL modules." + if tainted & Constants.TAINT_TECHPREVIEW_MODULE: + print "Tech-preview modules:\n %s" % Command("cat /proc/modules|grep '(T)'").getString() if tainted & Constants.TAINT_UNSIGNED_MODULE: print "Unsigned modules:\n %s" % Command("cat /proc/modules|grep '(U)'").getString() taintedFile.close()
Modified: trunk/v7/tags.py =================================================================== --- trunk/v7/tags.py 2011-03-11 13:18:40 UTC (rev 810) +++ trunk/v7/tags.py 2011-03-11 13:23:13 UTC (rev 811) @@ -167,6 +167,7 @@ rt="rt" TAINT_PROPRIETARY_MODULE = 1 TAINT_UNSIGNED_MODULE = 64 #kernel.h calls this TAINT_USER? + TAINT_TECHPREVIEW_MODULE = 256 i386="i386" x86_64="x86_64" interactive="interactive"
v7-commits@lists.stg.fedorahosted.org