]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemumigparamstest: Drop "unsupported" test case
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 21 Oct 2021 09:01:03 +0000 (11:01 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 22 Oct 2021 05:00:44 +0000 (07:00 +0200)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemumigparamsdata/unsupported.json [deleted file]
tests/qemumigparamsdata/unsupported.reply [deleted file]
tests/qemumigparamsdata/unsupported.xml [deleted file]
tests/qemumigparamstest.c

diff --git a/tests/qemumigparamsdata/unsupported.json b/tests/qemumigparamsdata/unsupported.json
deleted file mode 100644 (file)
index 0db3279..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-
-}
diff --git a/tests/qemumigparamsdata/unsupported.reply b/tests/qemumigparamsdata/unsupported.reply
deleted file mode 100644 (file)
index 2b88ba1..0000000
+++ /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 (file)
index 8aa3abe..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<test>
-  <migParams>
-  </migParams>
-</test>
index f445c92ff8c195fd7b119abed0d01aadb31056a4..4ab40d9d2e10145670254fd9b30649130532364f 100644 (file)
@@ -219,7 +219,6 @@ mymain(void)
             ret = -1; \
     } while (0)
 
-    DO_TEST("unsupported");
     DO_TEST("empty");
     DO_TEST("basic");
     DO_TEST("tls");