diff options
author | Tom Rini <trini@konsulko.com> | 2023-04-22 18:32:08 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-22 18:32:08 -0400 |
commit | 39bc4e12aba9b415c2bc19c0209661146c6e6f2a (patch) | |
tree | 1133f0583ce5dbfdcc650f0c4ded1aa4496be10f /test/py/tests/test_efi_fit.py | |
parent | 802132c48a2e6b66ec83b7bb66fb96f2ba87c957 (diff) | |
parent | b10bfd0019f601e2608370ed47741da201423d55 (diff) |
Merge tag 'efi-2023-07-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2023-07-rc1-2
Documentation:
* Describe Python coding style
UEFI:
* Enable tests for authenticated capsules on the sandbox
* Fix pylint warnings
* Correct struct efi_hii_keyboard_layout definition
Diffstat (limited to 'test/py/tests/test_efi_fit.py')
-rw-r--r-- | test/py/tests/test_efi_fit.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/py/tests/test_efi_fit.py b/test/py/tests/test_efi_fit.py index 92d071f7839..7b7c98fb04c 100644 --- a/test/py/tests/test_efi_fit.py +++ b/test/py/tests/test_efi_fit.py @@ -433,11 +433,13 @@ def test_efi_fit_launch(u_boot_console): sys_arch = cons.config.buildconfig.get('config_sys_arch', '"sandbox"')[1:-1] is_sandbox = sys_arch == 'sandbox' + if is_sandbox: + old_dtb = cons.config.dtb + try: if is_sandbox: # Use our own device tree file, will be restored afterwards. control_dtb = make_dtb('internal', False) - old_dtb = cons.config.dtb cons.config.dtb = control_dtb # Run tests |