Skip to content

Commit 606d2ff

Browse files
authored
Merge pull request #6799 from zhentang-tz/ovmf_msg_fix
[guest os booting]fix bootmenu msg
2 parents e4fce91 + 7826fa0 commit 606d2ff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libvirt/tests/cfg/guest_os_booting/boot_menu/bootmenu.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
- by_ovmf:
3939
only q35, aarch64
4040
firmware_type = "ovmf"
41-
check_prompt = "BdsDxe: loading Boot0000 "UiApp" from Fv"
41+
check_prompt = BdsDxe: loading Boot[0-9]+ "(UiApp|BootManagerMenuApp)" from Fv
4242
- by_seabios:
4343
only x86_64
4444
firmware_type = "seabios"

libvirt/tests/src/guest_os_booting/boot_menu/bootmenu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def run(test, params, env):
6969
vm.serial_console.read_until_any_line_matches(
7070
[check_prompt], timeout=30, internal_timeout=0.5
7171
)
72-
if check_not_prompt:
72+
if check_not_prompt and len(check_not_prompt) >= 3:
7373
time.sleep(1)
7474
output = vm.serial_console.get_output()
7575
output_lines = output.split("\n")

0 commit comments

Comments
 (0)