File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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' )
Original file line number Diff line number Diff 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" )
Original file line number Diff line number Diff 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 ("\n DLPAR remove memory operation\n " )
201201 for _ in range (len (self .blocks_hotpluggable ) // 2 ):
You can’t perform that action at this time.
0 commit comments