[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/8] tests/vm: use console_consume for netbsd
From: |
Alex Bennée |
Subject: |
[PULL 3/8] tests/vm: use console_consume for netbsd |
Date: |
Tue, 12 Nov 2019 14:50:23 +0000 |
From: Gerd Hoffmann <address@hidden>
Use new helper to read all pending console output,
not just a single char. Unblocks installer boot.
Signed-off-by: Gerd Hoffmann <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
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")
--
2.20.1
- [PULL 0/8] testing and tcg plugin api ver, Alex Bennée, 2019/11/12
- [PULL 2/8] tests/vm: add console_consume helper, Alex Bennée, 2019/11/12
- [PULL 1/8] tests/vm: netbsd autoinstall, using serial console, Alex Bennée, 2019/11/12
- [PULL 3/8] tests/vm: use console_consume for netbsd,
Alex Bennée <=
- [PULL 4/8] tests/vm: update netbsd to version 8.1, Alex Bennée, 2019/11/12
- [PULL 7/8] .travis.yml: don't run make check with multiple jobs, Alex Bennée, 2019/11/12
- [PULL 5/8] tests: only run ipmi-bt-test if CONFIG_LINUX, Alex Bennée, 2019/11/12
- [PULL 6/8] tests/vm: support sites with sha512 checksums, Alex Bennée, 2019/11/12
- [PULL 8/8] tcg plugins: expose an API version concept, Alex Bennée, 2019/11/12
- Re: [PULL 0/8] testing and tcg plugin api ver, Peter Maydell, 2019/11/12