diff mbox series

[PULL,3/8] tests/vm: use console_consume for netbsd

Message ID 20191112145028.26386-4-alex.bennee@linaro.org
State Accepted
Commit 00963aca8b5a4e34e7b7abac18e943930284fae2
Headers show
Series testing and tcg plugin api ver | expand

Commit Message

Alex Bennée Nov. 12, 2019, 2:50 p.m. UTC
From: Gerd Hoffmann <kraxel@redhat.com>


Use new helper to read all pending console output,
not just a single char.  Unblocks installer boot.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

Message-Id: <20191031085306.28888-4-kraxel@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>


-- 
2.20.1
diff mbox series

Patch

diff --git a/tests/vm/netbsd b/tests/vm/netbsd
index 445c34dc495..0083f7ff6a7 100755
--- a/tests/vm/netbsd
+++ b/tests/vm/netbsd
@@ -93,7 +93,7 @@  class NetBSDVM(basevm.BaseVM):
         for char in list("5consdev com0\n"):
             time.sleep(0.2)
             self.console_send(char)
-            self.console_wait("")
+            self.console_consume()
         self.console_wait_send("> ", "boot\n")
 
         self.console_wait_send("Terminal type",            "xterm\n")