IPMI test suite 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: Id248062c860ff209875d8f57315f572d9321f783
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/ipmi/test_ipmi_general.robot b/ipmi/test_ipmi_general.robot
index ba05a2b..7b3603f 100644
--- a/ipmi/test_ipmi_general.robot
+++ b/ipmi/test_ipmi_general.robot
@@ -422,7 +422,7 @@
    #               e.g. high - add extra byte to request data like "0x06 0x38 0x01 0x04 0x01".
    #               low - reduce bytes in actual request data like "0x06 0x38".
 
-   ${req_cmd}=  Run Keyword If  '${byte_length}' == 'low'
+   ${req_cmd}=  Set Variable If  '${byte_length}' == 'low'
    ...  Catenate  ${IPMI_RAW_CMD['Get Channel Auth Cap']['get'][0]}  ${CHANNEL_NUMBER}
    ...  ELSE
    ...  Catenate  ${IPMI_RAW_CMD['Get Channel Auth Cap']['get'][0]}  ${CHANNEL_NUMBER} 0x04 0x01