From d8d06f0a4a5101415883632a2dff33a04ef9c168 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Thu, 16 Mar 2023 18:59:52 +0100 Subject: [PATCH] tests: Fix firmware-auto-efi-loader-path-nonstandard This test is intended to simulate the use of an OVMF firmware image installed under a non-standard path. In order to make such a configuration work, the user would have to provide additional information. Right now it doesn't matter, because the configuration is rejected anyway, but the behavior is going to change slightly in the future. Prepare by making the configuration more complete and realistic. Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- .../firmware-auto-efi-loader-path-nonstandard.x86_64-latest.err | 2 +- .../firmware-auto-efi-loader-path-nonstandard.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qemuxml2argvdata/firmware-auto-efi-loader-path-nonstandard.x86_64-latest.err b/tests/qemuxml2argvdata/firmware-auto-efi-loader-path-nonstandard.x86_64-latest.err index e551fafd03..3f90a88791 100644 --- a/tests/qemuxml2argvdata/firmware-auto-efi-loader-path-nonstandard.x86_64-latest.err +++ b/tests/qemuxml2argvdata/firmware-auto-efi-loader-path-nonstandard.x86_64-latest.err @@ -1 +1 @@ -loader attribute 'type' cannot be specified when firmware autoselection is enabled +loader attribute 'readonly' cannot be specified when firmware autoselection is enabled diff --git a/tests/qemuxml2argvdata/firmware-auto-efi-loader-path-nonstandard.xml b/tests/qemuxml2argvdata/firmware-auto-efi-loader-path-nonstandard.xml index 5cf67730fd..daec5989d5 100644 --- a/tests/qemuxml2argvdata/firmware-auto-efi-loader-path-nonstandard.xml +++ b/tests/qemuxml2argvdata/firmware-auto-efi-loader-path-nonstandard.xml @@ -5,7 +5,7 @@ 1 hvm - /path/to/OVMF_CODE.fd + /path/to/OVMF_CODE.fd