Add an extra newline when writing to the serial console
Sometimes, the BMC puts junk in the serial console. The junk in
the console will sometimes make it into a command, so instead of
running 'echo Hello' the BMC may try to run something like
';180echo Hello', causing an otherwise legitimate command
to fail. Adding another newline helps to guard against
this junk from getting into the console.
Change-Id: I633081c1522232539c0c41ef548c3ac4b97d4b18
Signed-off-by: Charles Paul Hofer <Charles.Hofer@ibm.com>
diff --git a/lib/oem/ibm/serial_console_client.robot b/lib/oem/ibm/serial_console_client.robot
index aeb1b80..a468b4a 100644
--- a/lib/oem/ibm/serial_console_client.robot
+++ b/lib/oem/ibm/serial_console_client.robot
@@ -50,6 +50,7 @@
Open Telnet Connection To BMC Serial Console
Telnet.Write \n
+ Telnet.Write \n
Telnet.Execute Command ${command_string}
Read And Log BMC Serial Console Output
Close Serial Console Connection