[PATCH v2 1/6] qemumigparamstest: Drop "unsupported" test case

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

 



The aim of "unsupported" test case is to check whether our code
handles 'CommandNotFound' error returned for
'query-migrate-parameters' monitor command. Well, the command is
pretty old and every QEMU that we are dealing with supports it.
Thus this test case is useless. Drop it.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 tests/qemumigparamsdata/unsupported.json  | 3 ---
 tests/qemumigparamsdata/unsupported.reply | 7 -------
 tests/qemumigparamsdata/unsupported.xml   | 4 ----
 tests/qemumigparamstest.c                 | 1 -
 4 files changed, 15 deletions(-)
 delete mode 100644 tests/qemumigparamsdata/unsupported.json
 delete mode 100644 tests/qemumigparamsdata/unsupported.reply
 delete mode 100644 tests/qemumigparamsdata/unsupported.xml

diff --git a/tests/qemumigparamsdata/unsupported.json b/tests/qemumigparamsdata/unsupported.json
deleted file mode 100644
index 0db3279e44..0000000000
--- a/tests/qemumigparamsdata/unsupported.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-
-}
diff --git a/tests/qemumigparamsdata/unsupported.reply b/tests/qemumigparamsdata/unsupported.reply
deleted file mode 100644
index 2b88ba10c3..0000000000
--- a/tests/qemumigparamsdata/unsupported.reply
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "id": "libvirt-1",
-  "error": {
-    "class": "CommandNotFound",
-    "desc": "The command query-migrate-parameters has not been found"
-  }
-}
diff --git a/tests/qemumigparamsdata/unsupported.xml b/tests/qemumigparamsdata/unsupported.xml
deleted file mode 100644
index 8aa3abefc0..0000000000
--- a/tests/qemumigparamsdata/unsupported.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<test>
-  <migParams>
-  </migParams>
-</test>
diff --git a/tests/qemumigparamstest.c b/tests/qemumigparamstest.c
index f445c92ff8..4ab40d9d2e 100644
--- a/tests/qemumigparamstest.c
+++ b/tests/qemumigparamstest.c
@@ -219,7 +219,6 @@ mymain(void)
             ret = -1; \
     } while (0)
 
-    DO_TEST("unsupported");
     DO_TEST("empty");
     DO_TEST("basic");
     DO_TEST("tls");
-- 
2.32.0




[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