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_Protocol_Validator.robot b/redfish/dmtf_tools/Redfish_Protocol_Validator.robot
index 4fa730d..0fa27dc 100644
--- a/redfish/dmtf_tools/Redfish_Protocol_Validator.robot
+++ b/redfish/dmtf_tools/Redfish_Protocol_Validator.robot
@@ -40,8 +40,7 @@
${fail_count}= Should Match Regexp ${output} FAIL: (\\d+)
- Run Keyword If ${fail_count[1]} != 0
- ... Fail Redfish Protocol Validator Failed
+ IF ${fail_count[1]} != 0 Fail Redfish Protocol Validator Failed
*** Keywords ***