[PATCH 3/4] efi: test: Update distro EFI-app tests for new naming

Simon Glass sjg at chromium.org
Tue Sep 23 20:32:36 CEST 2025


Hi,

Sorry for the noise, please ignore this patch.

Regards,
SImon


On Tue, 23 Sept 2025 at 12:31, Simon Glass <sjg at u-boot.org> wrote:
>
> From: Simon Glass <sjg at chromium.org>
>
> 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 at chromium.org>
> Fixes: dea4ea00a72 ("efi: Set the efi_media device name when binding")
> ---
>
>  test/py/tests/test_distro.py | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/test/py/tests/test_distro.py b/test/py/tests/test_distro.py
> index 77caf32145e..cc4aa265d90 100644
> --- a/test/py/tests/test_distro.py
> +++ b/test/py/tests/test_distro.py
> @@ -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
> --
> 2.43.0
>
> base-commit: 136c959dd2d089710fb131956081d09b9da3bea4
> branch: labh


More information about the U-Boot mailing list