Skip to content

Commit

Permalink
Merge pull request avocado-framework-tests#2806 from PavamanSubramani…
Browse files Browse the repository at this point in the history
…yam/handle_unsupported_pcihotplug

skip the pci hotplug related tests
  • Loading branch information
abdhaleegit authored Apr 24, 2024
2 parents 953ea40 + d1e1e7a commit 871837d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions io/pci/pci_hotplug.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def setUp(self):
self.cancel("Processor is not ppc64")
if os.path.exists('/proc/device-tree/bmc'):
self.cancel("Test Unsupported! on this platform")
if 'IBM,9028-21B' in open('/proc/device-tree/model', 'r').read():
self.cancel("Test Unsupported! on this Hardware platform")
if 'pSeries' in open('/proc/cpuinfo', 'r').read():
for mdl in ['rpaphp', 'rpadlpar_io']:
if not linux_modules.module_is_loaded(mdl):
Expand Down

0 comments on commit 871837d

Please sign in to comment.