[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 04/11] tests/vm: update NetBSD to 9.0
From: |
Alex Bennée |
Subject: |
[PATCH v1 04/11] tests/vm: update NetBSD to 9.0 |
Date: |
Mon, 23 Mar 2020 16:15:07 +0000 |
From: Gerd Hoffmann <address@hidden>
The installer supports GPT now, so the install workflow has changed a
bit. Also: run without VGA device. This works around a bug in the
seabios sercon code and makes the bootloader menu show up on the serial
line, so we can drop the quirk for that.
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
Message-Id: <address@hidden>
---
tests/vm/netbsd | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)
diff --git a/tests/vm/netbsd b/tests/vm/netbsd
index f3257bc245a..b10c9d429de 100755
--- a/tests/vm/netbsd
+++ b/tests/vm/netbsd
@@ -22,8 +22,8 @@ class NetBSDVM(basevm.BaseVM):
name = "netbsd"
arch = "x86_64"
- link =
"https://cdn.netbsd.org/pub/NetBSD/NetBSD-8.1/images/NetBSD-8.1-amd64.iso"
- csum =
"718f275b7e0879599bdac95630c5e3f2184700032fdb6cdebf3bdd63687898c48ff3f08f57b89f4437a86cdd8ea07c01a39d432dbb37e1e4b008f4985f98da3f"
+ link =
"https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.0/images/NetBSD-9.0-amd64.iso"
+ csum =
"34da4882ee61bdbf69f241195a8933dc800949d30b43fc6988da853d57fc2b8cac50cf97a0d2adaf93250b4e329d189c1a8b83c33bd515226f37745d50c33369"
size = "20G"
pkgs = [
# tools
@@ -86,42 +86,31 @@ class NetBSDVM(basevm.BaseVM):
self.boot(img_tmp, extra_args = [
"-bios", "pc-bios/bios-256k.bin",
"-machine", "graphics=off",
- "-device", "VGA",
"-cdrom", iso
])
self.console_init()
- self.console_wait("Primary Bootstrap")
-
- # serial console boot menu output doesn't work for some
- # reason, so we have to fly blind ...
- for char in list("5consdev com0\n"):
- time.sleep(0.2)
- self.console_send(char)
- self.console_consume()
+ self.console_wait_send("3. Drop to boot prompt", "3")
+ self.console_wait_send("> ", "consdev com0\n")
self.console_wait_send("> ", "boot\n")
self.console_wait_send("Terminal type", "xterm\n")
self.console_wait_send("a: Installation messages", "a\n")
- self.console_wait_send("b: US-English", "b\n")
self.console_wait_send("a: Install NetBSD", "a\n")
self.console_wait("Shall we continue?")
self.console_wait_send("b: Yes", "b\n")
self.console_wait_send("a: ld0", "a\n")
+ self.console_wait_send("a: Guid Partition Table", "a\n")
self.console_wait_send("a: This is the correct", "a\n")
- self.console_wait_send("b: Use the entire disk", "b\n")
- self.console_wait("NetBSD bootcode")
- self.console_wait_send("a: Yes", "a\n")
- self.console_wait_send("b: Use existing part", "b\n")
+ self.console_wait_send("b: Use default part", "b\n")
self.console_wait_send("x: Partition sizes ok", "x\n")
- self.console_wait_send("for your NetBSD disk", "\n")
self.console_wait("Shall we continue?")
self.console_wait_send("b: Yes", "b\n")
self.console_wait_send("b: Use serial port com0", "b\n")
self.console_wait_send("f: Set serial baud rate", "f\n")
self.console_wait_send("a: 9600", "a\n")
- self.console_wait_send("x: Exit", "x\n")
+ self.console_wait_send("x: Continue", "x\n")
self.console_wait_send("a: Full installation", "a\n")
self.console_wait_send("a: CD-ROM", "a\n")
--
2.20.1
- [PATCH v1 01/11] tests/vm: write raw console log, (continued)
- [PATCH v1 01/11] tests/vm: write raw console log, Alex Bennée, 2020/03/23
- [PATCH v1 02/11] tests/vm: move vga setup, Alex Bennée, 2020/03/23
- [PATCH v1 05/11] tests/vm: fix basevm config, Alex Bennée, 2020/03/23
- [PATCH v1 06/11] configure: disable MTTCG for MIPS guests, Alex Bennée, 2020/03/23
- [PATCH v1 08/11] tests/docker: Install gcrypt devel package in Debian image, Alex Bennée, 2020/03/23
- [PATCH v1 04/11] tests/vm: update NetBSD to 9.0,
Alex Bennée <=
- [PATCH v1 03/11] tests/vm: update FreeBSD to 12.1, Alex Bennée, 2020/03/23
- [PATCH v1 09/11] tests/docker: Use Python3 PyYAML in the Fedora image, Alex Bennée, 2020/03/23
- [PATCH v1 10/11] tests/docker: Add libepoxy and libudev packages to the Fedora image, Alex Bennée, 2020/03/23
- [PATCH v1 11/11] .travis.yml: Add a KVM-only s390x job, Alex Bennée, 2020/03/23
- [PATCH v1 07/11] tests/docker: Keep package list sorted, Alex Bennée, 2020/03/23
- Re: [PATCH v1 for 5.0 00/11] testing/next, Richard Henderson, 2020/03/23