[libvirt] [PATCH] tests: remove FLAG_JSON from xml2argvtest

Ján Tomko jtomko at redhat.com
Thu Apr 12 15:18:42 UTC 2018


Unused as of commit <1e9a083>.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
Pushed as trivial.

 tests/qemuxml2argvtest.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 3a328e02a2..472f7b28fe 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -265,8 +265,7 @@ static virStorageDriver fakeStorageDriver = {
 typedef enum {
     FLAG_EXPECT_FAILURE     = 1 << 0,
     FLAG_EXPECT_PARSE_ERROR = 1 << 1,
-    FLAG_JSON               = 1 << 2,
-    FLAG_FIPS               = 1 << 3,
+    FLAG_FIPS               = 1 << 2,
 } virQemuXML2ArgvTestFlags;
 
 struct testInfo {
@@ -462,9 +461,6 @@ testCompareXMLToArgv(const void *data)
     virSetConnectSecret(conn);
     virSetConnectStorage(conn);
 
-    if (virQEMUCapsGet(info->qemuCaps, QEMU_CAPS_MONITOR_JSON))
-        flags |= FLAG_JSON;
-
     if (virQEMUCapsGet(info->qemuCaps, QEMU_CAPS_ENABLE_FIPS))
         flags |= FLAG_FIPS;
 
-- 
2.16.1




More information about the libvir-list mailing list