Fix parameter argument variable and keyword
Change-Id: Ieb9f89e80d5fc60a3c4706755c60c636d67ed78a
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/oem/ibm/serial_console_client.robot b/lib/oem/ibm/serial_console_client.robot
index 8c0f239..00e7145 100644
--- a/lib/oem/ibm/serial_console_client.robot
+++ b/lib/oem/ibm/serial_console_client.robot
@@ -14,12 +14,12 @@
... The login prompt expected, for example, for barreleye
... is "barreleye login:"
[Arguments] ${i_host}=${OPENBMC_SERIAL_HOST}
- ... ${i_port}=OPENBMC_SERIAL_PORT
+ ... ${i_port}=${OPENBMC_SERIAL_PORT}
... ${i_model}=${OPENBMC_MODEL}
Run Keyword If
... '${i_host}' != '${EMPTY}' and '${i_port}' != '${EMPTY}' and '${i_model}' != '${EMPTY}'
- ... Establish Telnet Session
+ ... Establish Telnet Session on BMC Serial Console
... ELSE Fail msg=One of the paramaters is EMPTY
@@ -28,7 +28,8 @@
... 30 secs.
${prompt_string} Set Variable ${OPENBMC_MODEL} login:
- Telnet.Open Connection ${TELNET_HOST} port=${TELNET_PORT} prompt=#
+ Telnet.Open Connection
+ ... ${OPENBMC_SERIAL_HOST} port=${OPENBMC_SERIAL_PORT} prompt=#
Set Newline \n
Set Newline CRLF
Telnet.Write \n