Author: gnichols Date: 2010-01-29 14:57:56 +0000 (Fri, 29 Jan 2010) New Revision: 353
Modified: trunk/v7/hardwaretest.py Log: 192245 - info test should call sosreport instead of sysreport
Modified: trunk/v7/hardwaretest.py =================================================================== --- trunk/v7/hardwaretest.py 2010-01-29 14:57:37 UTC (rev 352) +++ trunk/v7/hardwaretest.py 2010-01-29 14:57:56 UTC (rev 353) @@ -856,19 +856,6 @@ def getArch(self): system,node,release,version,machine = os.uname() return machine - - def getRedHatRelease(self): - f=open("/etc/redhat-release") - line=f.readline() - f.close() - if line: - pattern = re.compile("^(?P<product>[a-zA-Z\ ]+)release (?P<number>[1-9.]+) ((?P<name>[a-zA-Z0-9\ ]+))") - match = pattern.match(line) - product = None - if match.group("product"): - product = match.group("product").strip() - return (product, match.group("number"), match.group("name")) - return (None, None, None)
def makeTestRunDirectory(self): """Create a directory for the current test run"""
v7-commits@lists.stg.fedorahosted.org