From 7ce6a2f30ec7463c28d3cfdc9c2665fe652d399d Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Thu, 21 Oct 2021 11:01:03 +0200 Subject: [PATCH] qemumigparamstest: Drop "unsupported" test case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Ján Tomko --- 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 @@ - - - - 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");