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_Reference_Checker.robot b/redfish/dmtf_tools/Redfish_Reference_Checker.robot
index 92f2c3b..1fcef8f 100644
--- a/redfish/dmtf_tools/Redfish_Reference_Checker.robot
+++ b/redfish/dmtf_tools/Redfish_Reference_Checker.robot
@@ -30,7 +30,7 @@
# Work complete, total failures: 0
Should Match Regexp ${output} Work complete, total failures:[ ]+0
- Run Keyword If ${rc} != 0 Fail Redfish-Reference-Checker Failed.
+ IF ${rc} != 0 Fail Redfish-Reference-Checker Failed.
*** Keywords ***