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_sel_time.robot b/ipmi/test_ipmi_sel_time.robot
index 05e0ac6..c358371 100644
--- a/ipmi/test_ipmi_sel_time.robot
+++ b/ipmi/test_ipmi_sel_time.robot
@@ -564,11 +564,11 @@
 
     ${modifying_date_status}=  Run Keyword And Return Status  Should Contain  ${time}  +
 
-    ${date_time}=  Set Variable IF
+    ${date_time}=  Set Variable If
     ...  ${modifying_date_status} == True  ${time.split("+")[-1]}
     ...  ${modifying_date_status} == False  ${time.split("-")[-1]}
 
-    ${datetime} =  Run Keyword IF  ${modifying_date_status} == True
+    ${datetime} =  Set Variable If  ${modifying_date_status} == True
     ...    Add Time To Date
     ...    ${current_date}  ${date_time}  result_format=%m/%d/%Y %H:%M:%S  date_format=%m/%d/%Y %H:%M:%S
     ...  ELSE IF  ${modifying_date_status} == False