[PATCH 10/12] qemublocktest: Mark 'network-ssh-qcow2' input XML as invalid

Peter Krempa pkrempa at redhat.com
Tue Nov 1 14:01:48 UTC 2022


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 <pkrempa at redhat.com>
---
 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
-- 
2.38.1



More information about the libvir-list mailing list