aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-07-08 16:02:51 -0400
committerTom Rini <trini@konsulko.com>2019-07-08 16:02:51 -0400
commitcad28d37d5146cf293fe841c7c8e6f658c8a4940 (patch)
tree1181bd0941a69e8b690fa62d1eeaee2bbee90488 /test
parent0b7f1a95df8fe312ff8f1f548f51e6d656e8e67e (diff)
parent7f95104d91ccfb26f802feb5300838b41bc5fbb1 (diff)
downloadu-boot-cad28d37d5146cf293fe841c7c8e6f658c8a4940.zip
u-boot-cad28d37d5146cf293fe841c7c8e6f658c8a4940.tar.gz
u-boot-cad28d37d5146cf293fe841c7c8e6f658c8a4940.tar.bz2
Merge tag 'efi-2019-10-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for v2019.10-rc1 Fix a possible overflow for GUID partition tables. For some runtime services we only have implementations valid at boottime. So we replace them when leaving boottime. Move this from SetVirtualAddressMap() to ExitBootServices() as SetVirtualAddressMap() is not called by all operating systems. Adjust the Python tests accordingly. Bump the supported UEFI specification version to 2.8.
Diffstat (limited to 'test')
-rw-r--r--test/py/tests/test_efi_selftest.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py
index 07e4db0..d5430f9 100644
--- a/test/py/tests/test_efi_selftest.py
+++ b/test/py/tests/test_efi_selftest.py
@@ -19,10 +19,6 @@ def test_efi_selftest(u_boot_console):
m = u_boot_console.p.expect(['Summary: 0 failures', 'Press any key'])
if m != 0:
raise Exception('Failures occurred during the EFI selftest')
- u_boot_console.run_command(cmd='', wait_for_echo=False, wait_for_prompt=False);
- m = u_boot_console.p.expect(['resetting', 'U-Boot'])
- if m != 0:
- raise Exception('Reset failed during the EFI selftest')
u_boot_console.restart_uboot();
@pytest.mark.buildconfigspec('cmd_bootefi_selftest')
@@ -37,7 +33,7 @@ def test_efi_selftest_device_tree(u_boot_console):
u_boot_console.run_command(cmd='bootefi selftest ${fdtcontroladdr}', wait_for_prompt=False)
m = u_boot_console.p.expect(['serial-number: Testing DT', 'U-Boot'])
if m != 0:
- raise Exception('Reset failed in \'device tree\' test')
+ raise Exception('serial-number missing in device tree')
u_boot_console.restart_uboot();
@pytest.mark.buildconfigspec('cmd_bootefi_selftest')