efi: test: Update distro EFI-app tests for new naming

The EFI-media devices names were recently changed to make it easier to
tell them apart. Update the tests as well, since this change caused them
to fail.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: dea4ea00a7 ("efi: Set the efi_media device name when binding")
This commit is contained in:
Simon Glass
2025-09-23 12:25:40 -06:00
parent 4669ad3785
commit 16a1847b06

View File

@@ -84,7 +84,7 @@ def test_distro_arm_app_extlinux(ubman):
ubman.run_command('bootmeth order extlinux')
ubman.run_command('boot', wait_for_prompt=False)
ubman.expect(["Booting bootflow 'efi_media.bootdev.part_2' with extlinux"])
ubman.expect(["Booting bootflow 'efi_media_1.bootdev.part_2' with extlinux"])
ubman.expect(['Exiting EFI'])
ubman.expect(['Booting Linux on physical CPU'])
@@ -102,7 +102,8 @@ def test_distro_arm_app_efi(ubman):
ubman.run_command('bootmeth order efi')
ubman.run_command('boot', wait_for_prompt=False)
ubman.expect(["Booting bootflow 'efi_media.bootdev.part_1' with efi"])
ubman.expect(
["Booting bootflow 'efi_media_1.bootdev.part_1' with efi"])
# Press Escape to force GRUB to appear, even if the silent menu was
# enabled by a previous boot