@@ -1130,9 +1130,8 @@ class KernelCrash_XIVE_off(PowerNVDump):
1130
1130
1131
1131
def runTest (self ):
1132
1132
obj = OpTestInstallUtil .InstallUtil ()
1133
- if not obj .update_kernel_cmdline (self .distro , remove_args = "default_hugepagesz=1GB hugepagesz=1GB hugepages=80" ,
1134
- reboot = True , reboot_cmd = True ):
1135
- self .fail ("KernelArgTest failed to remove kernel args:default_hugepagesz=1GB hugepagesz=1GB hugepages=80" )
1133
+ obj .update_kernel_cmdline (self .distro , remove_args = "default_hugepagesz=1GB hugepagesz=1GB hugepages=80" ,
1134
+ reboot = True , reboot_cmd = True )
1136
1135
self .cv_SYSTEM .goto_state (OpSystemState .OS )
1137
1136
self .setup_test ()
1138
1137
log .info ("=============== Testing kdump/fadump with xive=off ===============" )
@@ -1178,9 +1177,8 @@ class KernelCrash_disable_radix(PowerNVDump):
1178
1177
1179
1178
def runTest (self ):
1180
1179
obj = OpTestInstallUtil .InstallUtil ()
1181
- if not obj .update_kernel_cmdline (self .distro , remove_args = "xive=off" ,
1182
- reboot = True , reboot_cmd = True ):
1183
- self .fail ("KernelArgTest failed to remove kernel args:xive=off" )
1180
+ obj .update_kernel_cmdline (self .distro , remove_args = "xive=off" ,
1181
+ reboot = True , reboot_cmd = True )
1184
1182
self .cv_SYSTEM .goto_state (OpSystemState .OS )
1185
1183
self .setup_test ()
1186
1184
log .info ("Testing kdump/fadump with disable_radix" )
@@ -1290,9 +1288,8 @@ def makedump_check(self):
1290
1288
1291
1289
def runTest (self ):
1292
1290
obj = OpTestInstallUtil .InstallUtil ()
1293
- if not obj .update_kernel_cmdline (self .distro , remove_args = "disable_radix" ,
1294
- reboot = True , reboot_cmd = True ):
1295
- self .fail ("KernelArgTest failed to remove kernel args:disable_radix" )
1291
+ obj .update_kernel_cmdline (self .distro , remove_args = "disable_radix" ,
1292
+ reboot = True , reboot_cmd = True )
1296
1293
self .kernel_crash ()
1297
1294
self .makedump_check ()
1298
1295
0 commit comments