From 640448cc1482223562da6e8b04cf7ae74bb86455 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 20 Oct 2022 14:50:21 +0200 Subject: [PATCH] qemublocktest: Mark 'network-ssh-qcow2' input XML as invalid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The XML does not conform to the RNG schema as we don't yet expose the 'ssh' protocol officially. Mark the XML as invalid by renaming it. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- tests/qemublocktest.c | 2 +- .../{network-ssh-qcow2.json => network-ssh-qcow2-invalid.json} | 0 .../{network-ssh-qcow2.xml => network-ssh-qcow2-invalid.xml} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename tests/qemublocktestdata/imagecreate/{network-ssh-qcow2.json => network-ssh-qcow2-invalid.json} (100%) rename tests/qemublocktestdata/imagecreate/{network-ssh-qcow2.xml => network-ssh-qcow2-invalid.xml} (100%) diff --git a/tests/qemublocktest.c b/tests/qemublocktest.c index 1c1013d4d9..010b52f4b3 100644 --- a/tests/qemublocktest.c +++ b/tests/qemublocktest.c @@ -1211,7 +1211,7 @@ mymain(void) TEST_IMAGE_CREATE("network-gluster-qcow2", NULL); TEST_IMAGE_CREATE("network-rbd-qcow2", NULL); - TEST_IMAGE_CREATE("network-ssh-qcow2", NULL); + TEST_IMAGE_CREATE("network-ssh-qcow2-invalid", NULL); #define TEST_BITMAP_DETECT(testname) \ do { \ diff --git a/tests/qemublocktestdata/imagecreate/network-ssh-qcow2.json b/tests/qemublocktestdata/imagecreate/network-ssh-qcow2-invalid.json similarity index 100% rename from tests/qemublocktestdata/imagecreate/network-ssh-qcow2.json rename to tests/qemublocktestdata/imagecreate/network-ssh-qcow2-invalid.json diff --git a/tests/qemublocktestdata/imagecreate/network-ssh-qcow2.xml b/tests/qemublocktestdata/imagecreate/network-ssh-qcow2-invalid.xml similarity index 100% rename from tests/qemublocktestdata/imagecreate/network-ssh-qcow2.xml rename to tests/qemublocktestdata/imagecreate/network-ssh-qcow2-invalid.xml