[PATCH (pushed)] domaincapstest: Skip unknown variants instead of the default variant
Peter Krempa
pkrempa at redhat.com
Mon Apr 3 08:52:42 UTC 2023
Fix the logic selecting when to run the tests to skip unknown variants
rather than the default variant.
Fixes: 738c5bae888
Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
Pushed as trivial. I've messed up when applying review feedback.
tests/domaincapstest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c
index a02197c4ea..ca4761aad0 100644
--- a/tests/domaincapstest.c
+++ b/tests/domaincapstest.c
@@ -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")) {
--
2.39.2
More information about the libvir-list
mailing list