From e95835f48c684025619d58f1c1ca024ea21e2893 Mon Sep 17 00:00:00 2001 From: Praveen Pandey Date: Thu, 3 Oct 2024 09:22:19 +0530 Subject: [PATCH] Fixed regreesion Fixed regression which was introduced 6fbbbb115f899184e7e4c9cf1498f56208a26c2f --- testcases/Lcov.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/Lcov.py b/testcases/Lcov.py index 96563e88..61d234a6 100644 --- a/testcases/Lcov.py +++ b/testcases/Lcov.py @@ -66,9 +66,9 @@ def runTest(self): dep_packages = ['perl*', 'tiny*'] log.info("installing the dependency packages") for pkg in dep_packages: - if self.distro_name == 'rhel': + if self.distro == 'rhel': self.cv_HOST.host_run_command(f"{cmd} {pkg} -y") - elif self.distro_name == 'sles': + elif self.distro == 'sles': self.cv_HOST.host_run_command(f"{cmd} -y {pkg}") time.sleep(5) log.info("changing dir to /home")