[Concept,3/4] efi: test: Update distro EFI-app tests for new naming
Commit Message
From: Simon Glass <sjg@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@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(-)
@@ -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