Skip to content

Commit bdb918b

Browse files
committed
Changing the plotform validation to power for IBM power servers
earlier we were validating "ppc" for power server, Now it has changed to power as from RH10 onwards this has been changed and the utility is also now returning powerpc Signed-off-by: Naresh Bannoth <nbannoth@in.ibm.com>
1 parent 9693a26 commit bdb918b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

io/disk/disk_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def setUp(self):
5454
pkg = ""
5555
device = self.params.get('disk', default=None)
5656
self.disk = disk.get_absolute_disk_path(device)
57-
if 'ppc' not in cpu.get_arch():
57+
if 'power' not in cpu.get_arch():
5858
self.cancel("Processor is not ppc64")
5959
self.dirs = self.params.get('dir', default=self.workdir)
6060
self.fstype = self.params.get('fs', default='ext4')

io/pci/pci_hotplug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def setUp(self):
4747
"""
4848
Setup the device.
4949
"""
50-
if 'ppc' not in cpu.get_arch():
50+
if 'power' not in cpu.get_arch():
5151
self.cancel("Processor is not ppc64")
5252
if os.path.exists('/proc/device-tree/bmc'):
5353
self.cancel("Test Unsupported! on this platform")

memory/memhotplug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_hotplug_toggle(self):
195195
self.__error_check()
196196

197197
def test_dlpar_mem_hotplug(self):
198-
if 'ppc' in cpu.get_arch() and 'PowerNV' not in open('/proc/cpuinfo', 'r').read():
198+
if 'power' in cpu.get_arch() and 'PowerNV' not in open('/proc/cpuinfo', 'r').read():
199199
if b"mem_dlpar=yes" in process.system_output("drmgr -C", ignore_status=True, shell=True):
200200
self.log.info("\nDLPAR remove memory operation\n")
201201
for _ in range(len(self.blocks_hotpluggable) // 2):

0 commit comments

Comments
 (0)