efi_loader, pytest: set up secure boot environment
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 14 Apr 2020 02:51:49 +0000 (11:51 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 16 Apr 2020 06:12:47 +0000 (08:12 +0200)
commitfe6ca4d5d2c215af28f5a33c7e8b8e3208324091
treece4d264e4eb08a3960567b810530eb5e1f76a9ea
parent525fc06744b0942dc95dbbf982a90badcfa8aa14
efi_loader, pytest: set up secure boot environment

A fixture for UEFI secure boot tests (image authentication and variable
authentication) is defined. A small file system with test data in a single
partition formatted in fat is created.

This test requires efitools v1.5.2 or later. If the system's efitools
is older, you have to build it on your own and define EFITOOLS_PATH.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
test/py/README.md
test/py/tests/test_efi_secboot/conftest.py [new file with mode: 0644]
test/py/tests/test_efi_secboot/defs.py [new file with mode: 0644]