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:
Peter Krempa 2023-04-03 10:47:36 +02:00
parent c674a43f3d
commit f2c20b8260

View File

@ -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")) {