aboutsummaryrefslogtreecommitdiff
path: root/tests/vm/netbsd
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-10-31 09:53:05 +0100
committerAlex Bennée <alex.bennee@linaro.org>2019-11-12 14:32:55 +0000
commit00963aca8b5a4e34e7b7abac18e943930284fae2 (patch)
tree534c404d76df10c5232eecbd20479a42e86e2b50 /tests/vm/netbsd
parent6c4f0416be5805962a77af240a41fae5eaffda8b (diff)
tests/vm: use console_consume for netbsd
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>
Diffstat (limited to 'tests/vm/netbsd')
-rwxr-xr-xtests/vm/netbsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/netbsd b/tests/vm/netbsd
index 445c34dc49..0083f7ff6a 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")