Fixing RAS issue & Removing unavailable unrecoverable NX scenario
Change-Id: I7cebf6c8492e26079e30c8e39c3081625e0878c7
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/lib/ras/host_utils.robot b/lib/ras/host_utils.robot
index c5db391..a4f2cee 100755
--- a/lib/ras/host_utils.robot
+++ b/lib/ras/host_utils.robot
@@ -146,10 +146,11 @@
${no_of_states}= Convert To Integer ${output}
# Disable state for all cpus.
- :FOR ${count} IN RANGE ${no_of_states}
- \ ${cmd}= Catenate SEPARATOR= for file_path in /sys/devices/system/cpu/
- ... cpu*/cpuidle/state${i}/disable; do echo 1 > $file_path; done
- \ ${output} ${stderr} ${rc}= Run Keyword OS Execute Command ${cmd}
+ FOR ${count} IN RANGE ${no_of_states}
+ ${cmd}= Catenate SEPARATOR= for file_path in /sys/devices/system/cpu/
+ ... cpu*/cpuidle/state${count}/disable; do echo 1 > $file_path; done
+ ${output} ${stderr} ${rc}= Run Keyword OS Execute Command ${cmd}
+ END
Is Opal-PRD Service Enabled
[Documentation] Check if Opal-PRD service is running & return either