diff --git a/testcases/Lcov.py b/testcases/Lcov.py index 61d234a6..e2850e20 100644 --- a/testcases/Lcov.py +++ b/testcases/Lcov.py @@ -59,11 +59,12 @@ def runTest(self): Test for installing the lcov ''' log.info("distro_name=%s" %self.distro) + dep_packages = ['perl*', 'git-core'] if self.distro == 'rhel': cmd = "yum install" + dep_packages.append('tiny*') elif self.distro == 'sles': cmd = "zypper install" - dep_packages = ['perl*', 'tiny*'] log.info("installing the dependency packages") for pkg in dep_packages: if self.distro == 'rhel':