]> git.baikalelectronics.ru Git - uboot.git/commit
efi: test/py: repair authenticated capsules tests
authorVincent Stehlé <vincent.stehle@arm.com>
Mon, 27 Jun 2022 10:23:19 +0000 (12:23 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 18 Jul 2022 15:21:49 +0000 (17:21 +0200)
commit2cf0d276552dd200efd3271aea7e500f132a9e24
treee47c7d7556fcd06c1b300a4ab337e3f16101f45a
parent4fca25c7bcf5298d67202ee80f2e99fa7364ad37
efi: test/py: repair authenticated capsules tests

The UEFI console initialisation has been modified by commit 7f77763a0501
("efi_loader: initialize console size late"). A corresponding workaround is
now necessary for the automated tests, as added to some of the tests
already by commit dedf86e0dedd ("test: work around for EFI terminal size
probing").

Add the same workaround to the UEFI authenticated capsules tests to repair
them.

This can be tested with sandbox_defconfig, sandbox64_defconfig or
sandbox_flattree_defconfig, plus CONFIG_EFI_CAPSULE_AUTHENTICATE=y.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
test/py/tests/test_efi_capsule/test_capsule_firmware_signed_fit.py
test/py/tests/test_efi_capsule/test_capsule_firmware_signed_raw.py