libvirt/tests/qemufirmwaredata
Andrea Bolognani 3030010fa9 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: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2023-03-22 13:49:53 +01:00
..
etc/qemu/firmware tests: Fix firmware descriptor masking test 2023-03-22 13:49:53 +01:00
home/user/.config/qemu/firmware qemufirmwaretest: Test qemuFirmwareFetchConfigs() 2019-03-12 15:29:44 +01:00
out/usr/share/qemu/firmware qemu: support firmware descriptor flash 'mode' for optional NVRAM 2022-02-23 18:11:08 +00:00
usr/share/qemu/firmware tests: Fix firmware descriptor masking test 2023-03-22 13:49:53 +01:00