Skip to content

Commit

Permalink
Merge pull request #2759 from shirishaganta1/fix-smt
Browse files Browse the repository at this point in the history
smt.py: Fixed the testcase
  • Loading branch information
Naresh-ibm authored Feb 8, 2024
2 parents fc3e87c + 63eec1e commit e4c0801
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workload/smt.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ def setUp(self):
distro_ver = self.detected_distro.version
distro_rel = self.detected_distro.release
if distro_name == "rhel":
if (distro_ver == "7" or
(distro_ver == "8" and distro_rel < "4")):
if (distro_ver == 7 or
(distro_ver == 8 and distro_rel < 4)):
self.cancel("smtstate tool is supported only after RHEL8.4")
elif distro_name == "SuSE":
if (distro_ver == "12" or (distro_ver == "15" and distro_rel < 3)):
if (distro_ver == 12 or (distro_ver == 15 and distro_rel < 3)):
self.cancel("smtstate tool is supported only after SLES15 SP3")
else:
self.cancel("Test case is supported only on RHEL and SLES")
Expand Down

0 comments on commit e4c0801

Please sign in to comment.