mirror of https://gitee.com/openkylin/libvirt.git
domaincapstest: Skip unknown variants instead of the default variant
Fix the logic selecting when to run the tests to skip unknown variants
rather than the default variant.
Fixes: 738c5bae88
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
c674a43f3d
commit
f2c20b8260
|
@ -326,7 +326,7 @@ doTestQemu(const char *inputDir G_GNUC_UNUSED,
|
|||
|
||||
if (STREQ(variant, "+hvf"))
|
||||
hvf = true;
|
||||
else if (STREQ(variant, ""))
|
||||
else if (STRNEQ(variant, ""))
|
||||
return 0;
|
||||
|
||||
if (STREQ(arch, "x86_64")) {
|
||||
|
|
Loading…
Reference in New Issue