Fix warning message in code
Change-Id: Ie4779dc3c0533e518bd43ebe7f1c28331263a11c
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/common_utils.robot b/lib/common_utils.robot
index 674bde3..7c0d484 100755
--- a/lib/common_utils.robot
+++ b/lib/common_utils.robot
@@ -578,21 +578,21 @@
Check BMC CPU Performance
[Documentation] Minimal 10% of proc should be free in 3 sample
- :FOR ${var} IN Range 1 4
+ :FOR ${var} IN RANGE 1 4
\ BMC CPU Performance check
Check BMC Mem Performance
[Documentation] Minimal 10% of memory should be free
- :FOR ${var} IN Range 1 4
+ :FOR ${var} IN RANGE 1 4
\ BMC Mem Performance check
Check BMC File System Performance
[Documentation] Check for file system usage for 4 times
- :FOR ${var} IN Range 1 4
+ :FOR ${var} IN RANGE 1 4
\ BMC File System Usage check
diff --git a/lib/ipmi_client.robot b/lib/ipmi_client.robot
index 030712f..fc5900d 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -202,7 +202,7 @@
Set Global Variable ${arrayByte} array:byte:
@{listargs}= Split String ${args}
${index}= Set Variable ${0}
- :FOR ${word} in @{listargs}
+ :FOR ${word} IN @{listargs}
\ Run Keyword if ${index} == 0 Set NetFn Byte ${word}
\ Run Keyword if ${index} == 1 Set Cmd Byte ${word}
\ Run Keyword if ${index} > 1 Set Array Byte ${word}