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

Message ID 20250923193833.1506358-3-sjg@u-boot.org
State New
Headers
Series [Concept,1/4] colibri-imx8x: Increase the boot delay |

Commit Message

Simon Glass Sept. 23, 2025, 7:38 p.m. UTC
  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(-)
  

Patch

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