]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domaincapstest: Allow tests of all capability variants
authorPeter Krempa <pkrempa@redhat.com>
Tue, 4 Mar 2025 08:41:02 +0000 (09:41 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 6 Mar 2025 12:04:25 +0000 (13:04 +0100)
commitb7657a6d2e16c2b0372ca39850d8a49976785c97
treeb558bf90f70467a6db5fe51c519a45468374f6e7
parentaf68ab6b267401911db7db97a75cc8bcf4f4766e
domaincapstest: Allow tests of all capability variants

Currently only the default variant ("") and "+hvf" are present in our
test data but upcoming patches will add another variant.

Upcoming test variants may not require any special handling so we should
be able to handle them using the default code path now that 'variant' is
properly propagated inside the test code.

Remove the restriction to test only the default ("") and "+hvf" variant
and modify the documentation to state that any other variant is tested
the same way as the default one.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
tests/domaincapstest.c