IPMI 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: I8a52aeb2939104f2c94f294272d92c4a7692970e
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ipmi/test_ipmi_cipher.robot b/ipmi/test_ipmi_cipher.robot
index 73c1d48..4e9497a 100644
--- a/ipmi/test_ipmi_cipher.robot
+++ b/ipmi/test_ipmi_cipher.robot
@@ -161,8 +161,9 @@
@{expected_data_list}= Split String ${response_data}
- Run Keyword If '${cipher_suite}' == 'standard'
- ... Verify Standard Cipher Suite For Channel ${expected_data_list} ${channel_number}
+ IF '${cipher_suite}' == 'standard'
+ Verify Standard Cipher Suite For Channel ${expected_data_list} ${channel_number}
+ END
Verify Supported Algorithm For Channel
[Documentation] Compare the supported algorithms got from ipmi_raw_cmd_table with
@@ -200,10 +201,11 @@
... ELSE
... Convert To Hex ${channel_num} length=2
- Run Keyword If '${index_value}' == '0x80'
- ... Verify Algorithm by Cipher Suite For Channel ${resp} ${channel_num}
- ... ELSE
- ... Verify Supported Algorithm For Channel ${resp} ${channel_num}
+ IF '${index_value}' == '0x80'
+ Verify Algorithm by Cipher Suite For Channel ${resp} ${channel_num}
+ ELSE
+ Verify Supported Algorithm For Channel ${resp} ${channel_num}
+ END
Verify Cipher Suite For Invalid Channel
[Documentation] Execute cipher suite ipmi cmd for invalid channel and verify Error code.