171deb7a97
longer implies no_install=yes 1cb0be40-virtinstall-split-no_install-conditional-apart-to-track-code-coverage.patch e94786c0-virtinstall-fix-regression-with-boot-and-no-install-method.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=584
21 lines
1.2 KiB
Diff
21 lines
1.2 KiB
Diff
Subject: tests: Add a compat check for linux2020 in amd-sev test case
|
|
From: Lin Ma lma@suse.com Fri Aug 19 18:18:09 2022 +0800
|
|
Date: Sat Aug 20 09:59:27 2022 -0400:
|
|
Git: c22a876e9a63cb7114e2b008f2e24682c8bbef3e
|
|
|
|
It avoids amd-sev test failure if using older osinfo-db.
|
|
|
|
Signed-off-by: Lin Ma <lma@suse.com>
|
|
|
|
--- a/tests/test_cli.py
|
|
+++ b/tests/test_cli.py
|
|
@@ -1108,7 +1108,7 @@ c.add_compare("--connect " + utils.URIs.
|
|
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'")
|