test: uninstall PK after secboot tests
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Oct 2025 20:29:26 +0000 (22:29 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 17 Oct 2025 00:02:19 +0000 (18:02 -0600)
commitede1186f2094f5709f4c4cd081a388873680139d
treea5b2c60726e62bf1ade08d55c78c39d2143399df
parent7e65d29b6618603a51053d5fa9f4ef585e5b8959
test: uninstall PK after secboot tests

The EFI secure boot tests install a security data base.
Other EFI tests assume that secure boot is not enabled.
Add the missing tear-down at the end of each secboot test sequence.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: Tom Rini <trini@konsulko.com>
test/py/tests/test_efi_secboot/conftest.py
test/py/tests/test_efi_secboot/test_signed.py
test/py/tests/test_efi_secboot/test_signed_intca.py
test/py/tests/test_efi_secboot/test_unsigned.py