mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-21 21:25:25 +00:00
tests: Add invalid firmware descriptor
This is guaranteed to keep failing even after loongarch64 support is introduced. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
03a2e01dd4
commit
116a44d65e
@ -0,0 +1,5 @@
|
||||
{
|
||||
"firmware": {
|
||||
"invalid": true
|
||||
}
|
||||
}
|
@ -102,6 +102,7 @@ testFWPrecedence(const void *opaque G_GNUC_UNUSED)
|
||||
PREFIX "/share/qemu/firmware/60-edk2-ovmf-x64-inteltdx.json",
|
||||
PREFIX "/share/qemu/firmware/90-combined.json",
|
||||
PREFIX "/share/qemu/firmware/91-bios.json",
|
||||
PREFIX "/share/qemu/firmware/93-invalid.json",
|
||||
NULL
|
||||
};
|
||||
const char **e;
|
||||
@ -279,6 +280,7 @@ mymain(void)
|
||||
DO_PARSE_TEST("usr/share/qemu/firmware/60-edk2-ovmf-x64-inteltdx.json");
|
||||
DO_PARSE_TEST("usr/share/qemu/firmware/90-combined.json");
|
||||
DO_PARSE_TEST("usr/share/qemu/firmware/91-bios.json");
|
||||
DO_PARSE_FAILURE_TEST("usr/share/qemu/firmware/93-invalid.json");
|
||||
|
||||
if (virTestRun("QEMU FW precedence test", testFWPrecedence, NULL) < 0)
|
||||
ret = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user