[PATCH (pushed)] domaincapstest: Skip unknown variants instead of the default variant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux