aboutsummaryrefslogtreecommitdiff
path: root/test/py/tests/test_efi_selftest.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-11-26 17:10:53 -0500
committerTom Rini <trini@konsulko.com>2021-11-26 17:10:53 -0500
commit693650b15d04cd5a5861bd3136c9ed9e23f95c41 (patch)
treeb4a3b3ca5d9b6b6f10e3d6880f1caa17219776c2 /test/py/tests/test_efi_selftest.py
parent2ad8d0cb950da2233a2ec030533f4e54c6d04126 (diff)
parent2b5e7108594d4e100c88f44353d1fed6456d6471 (diff)
Merge tag 'efi-2022-01-rc3-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2022-01-rc3-2 Test: * fix pylint warnings UEFI: * disable interrupts before removing devices in ExitBootServices() * implement poweroff in efi_system_reset() on sandbox * allow booting via EFI even if some block device fails
Diffstat (limited to 'test/py/tests/test_efi_selftest.py')
-rw-r--r--test/py/tests/test_efi_selftest.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py
index 63218efbc269..0161a6ea24a0 100644
--- a/test/py/tests/test_efi_selftest.py
+++ b/test/py/tests/test_efi_selftest.py
@@ -73,8 +73,7 @@ def test_efi_selftest_text_input(u_boot_console):
This function calls the text input EFI selftest.
"""
u_boot_console.run_command(cmd='setenv efi_selftest text input')
- output = u_boot_console.run_command(cmd='bootefi selftest',
- wait_for_prompt=False)
+ u_boot_console.run_command(cmd='bootefi selftest', wait_for_prompt=False)
m = u_boot_console.p.expect([r'To terminate type \'x\''])
if m != 0:
raise Exception('No prompt for \'text input\' test')
@@ -143,8 +142,7 @@ def test_efi_selftest_text_input_ex(u_boot_console):
This function calls the extended text input EFI selftest.
"""
u_boot_console.run_command(cmd='setenv efi_selftest extended text input')
- output = u_boot_console.run_command(cmd='bootefi selftest',
- wait_for_prompt=False)
+ u_boot_console.run_command(cmd='bootefi selftest', wait_for_prompt=False)
m = u_boot_console.p.expect([r'To terminate type \'CTRL\+x\''])
if m != 0:
raise Exception('No prompt for \'text input\' test')