Skip to content
Snippets Groups Projects
Commit 3030010f authored by Andrea Bolognani's avatar Andrea Bolognani
Browse files

tests: Fix firmware descriptor masking test


Right now we're checking that firmware descriptor masking works
as intended by creating an empty file matching 60-ovmf-sb.json
in name.

However, that firmware descriptors contains the details for a
perfectly valid and quite common situation: Secure Boot being
supported by the firmware build, but being effectively disabled
by the lack of certificates in the NVRAM template.

Unmask that firmware descriptor, and instead create a dummy one
that has higher priority than all other OVMF builds and points
to paths that are obviously incorrect, which should make it
easy to notice it getting accidentally unmasked in the future.

Signed-off-by: default avatarAndrea Bolognani <abologna@redhat.com>
Reviewed-by: default avatarMichal Privoznik <mprivozn@redhat.com>
parent bf6a6f90
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment