diff options
author | Lin Ma <lma@suse.com> | 2022-08-19 18:18:09 +0800 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2022-08-20 09:59:27 -0400 |
commit | c22a876e9a63cb7114e2b008f2e24682c8bbef3e (patch) | |
tree | 958a5cd99eaafe454f1a93aa189e68044f0068b7 /tests | |
parent | e94786c066696781a821f5a4bcef3c377e4bc5e5 (diff) | |
download | virt-manager-c22a876e9a63cb7114e2b008f2e24682c8bbef3e.tar.gz |
tests: Add a compat check for linux2020 in amd-sev test case
It avoids amd-sev test failure if using older osinfo-db.
Signed-off-by: Lin Ma <lma@suse.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py index cc1d3da2..9f6c3bc0 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1108,7 +1108,7 @@ c.add_compare("--connect " + utils.URIs.kvm_x86_remote + " --import --disk %(EXI c.add_compare("--connect %(URI-KVM-X86)s --os-variant fedora26 --graphics spice --controller usb,model=none", "graphics-usb-disable") c.add_compare("--osinfo generic --boot uefi --disk size=1", "boot-uefi") c.add_compare("--osinfo generic --boot uefi --disk size=1 --tpm none --connect " + utils.URIs.kvm_x86_oldfirmware, "boot-uefi-oldcaps") -c.add_compare("--osinfo linux2020 --boot uefi --launchSecurity sev --connect " + utils.URIs.kvm_amd_sev, "amd-sev") +c.add_compare("--osinfo linux2020 --boot uefi --launchSecurity sev --connect " + utils.URIs.kvm_amd_sev, "amd-sev", prerun_check=no_osinfo_linux2020_virtio) c.add_invalid("--disk none --location nfs:example.com/fake --nonetworks", grep="NFS URL installs are no longer supported") c.add_invalid("--disk none --boot network --machine foobar", grep="domain type None with machine 'foobar'") |