diff options
author | Thomas Huth <thuth@redhat.com> | 2025-05-08 20:09:18 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2025-05-08 15:38:40 -0400 |
commit | 4b1f5b73e060971c434e70694d571adfee553027 (patch) | |
tree | 55d4aa10dc2cc70c83d7f478177c40b7368c6277 /tests/functional/test_hppa_seabios.py | |
parent | c5f122fdcc280a82e7c5f31de890f985aa7ba773 (diff) | |
download | qemu-master.zip qemu-master.tar.gz qemu-master.tar.bz2 |
qemu-system-hppa shuts down automatically when the BIOS is
unable to boot from any device. So this test currently fails
occasionally when QEMU already quit, but the test still
expected it to be around (e.g. to shut it down cleanly).
Adding a "-no-shutdown" seems to make it reliable.
While we're at it, also remove the stray "self.machine" in
there that does not have any purpose.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20250508180918.228757-1-thuth@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/functional/test_hppa_seabios.py')
-rwxr-xr-x | tests/functional/test_hppa_seabios.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/test_hppa_seabios.py b/tests/functional/test_hppa_seabios.py index a44d1a3..661b246 100755 --- a/tests/functional/test_hppa_seabios.py +++ b/tests/functional/test_hppa_seabios.py @@ -17,9 +17,9 @@ class HppaSeabios(QemuSystemTest): def boot_seabios(self): mach = self.machine bits = self.MACH_BITS[mach] + self.vm.add_args('-no-shutdown') self.vm.set_console() self.vm.launch() - self.machine wait_for_console_pattern(self, f'SeaBIOS PA-RISC {bits}-bit Firmware') wait_for_console_pattern(self, f'Emulated machine: HP {mach} ({bits}-bit') |