IPMI/DCMI: Modified script based on user input
Changes:
- Modified script based on user input
Tested:
- Ran ipmi/ and ipmi/dcmi
Change-Id: Ic9d6e29ae199cffb6009e6718ae499293c319c96
Signed-off-by: Ishwarya Mathi M <ishwaryamm@ami.com>
diff --git a/lib/ipmi_client.robot b/lib/ipmi_client.robot
index 2088df3..c37a2af 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -657,8 +657,8 @@
# Example: ${resp} will be "51 XX XX XX XX ff ff ff ff ff ff ff ff XX"
- ${resp}= Run IPMI Standard Command
- ... raw ${IPMI_RAW_CMD['SEL_entry']['SEL_info'][0]}
+ ${resp}= Run IPMI Command
+ ... ${IPMI_RAW_CMD['SEL_entry']['SEL_info'][0]}
${resp}= Split String ${resp}
[Return] ${resp}
@@ -672,7 +672,7 @@
# ${ipmi_cmd} - IPMI raw cmd with invalid data length.
# ${error_code} - Expected error code e.g 0xc7, 0xcc.
- ${resp}= Run External IPMI Raw Command ${ipmi_cmd} fail_on_err=0
+ ${resp}= Run IPMI Command ${ipmi_cmd} fail_on_err=0
Should Contain ${resp} rsp=${error_code}