Fix bugs in the network reset test cases
Resolves openbmc/openbmc-test-automation#1050
Change-Id: Ic1b736708b24726a822c99da035aedb95d409984
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 e840a73..f2162bd 100644
--- a/lib/oem/ibm/serial_console_client.robot
+++ b/lib/oem/ibm/serial_console_client.robot
@@ -34,7 +34,7 @@
Telnet.Set Timeout 30 minute 30 seconds
-Read and Log BMC Serial Console Output
+Read And Log BMC Serial Console Output
[Documentation] Reads everything that is currently available
... in the output.
@@ -52,11 +52,13 @@
Open Telnet Connection To BMC Serial Console
Telnet.Write \n
Telnet.Execute Command ${command_string}
+ Read And Log BMC Serial Console Output
Close Serial Console Connection
Close Serial Console Connection
[Documentation] Log out of the BMC and close telnet.
- Execute Command On Serial Console exit
+ Telnet.Write \n
+ Telnet.Write exit
Telnet.Close Connection
\ No newline at end of file