DMTF Update robot codes with latest directives
Changes:
- Run KeyWord If is deprecated since Robot
Framework version 5.*, use 'IF' instead
Tested:
- Checked using robot dry-run to make sure the
syntax is not broken
Change-Id: Ie9c06a79137399190469ff3a071d2d90c93c8e07
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/dmtf_tools/Redfish_Interop_Validator.robot b/redfish/dmtf_tools/Redfish_Interop_Validator.robot
index 8dc3718..6cf32e8 100644
--- a/redfish/dmtf_tools/Redfish_Interop_Validator.robot
+++ b/redfish/dmtf_tools/Redfish_Interop_Validator.robot
@@ -1,7 +1,9 @@
*** Settings ***
-Documentation Test BMC Redfish conformance using https://github.com/DMTF/Redfish-Interop-Validator.
+Documentation Test BMC Redfish conformance using
+... https://github.com/DMTF/Redfish-Interop-Validator.
... DMTF tool.
-... It validate the Redfish service based on an interoperability profile given to it.
+... It validate the Redfish service based on an
+... interoperability profile given to it.
Resource ../../lib/dmtf_tools_utils.robot
@@ -33,4 +35,4 @@
${rc} ${output}= Run DMTF Tool ${rsv_dir_path} ${cmd_str_master} check_error=1
- Run Keyword If ${rc} != 0 Fail Redfish-Interop-Validator Failed.
+ IF ${rc} != 0 Fail Redfish-Interop-Validator Failed.