]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virschematest: Validate more XMLs
authorPeter Krempa <pkrempa@redhat.com>
Wed, 7 Oct 2020 11:58:24 +0000 (13:58 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 20 Oct 2020 07:05:10 +0000 (09:05 +0200)
We weren't validating certain directories containing nwfilter, network
and capability XML test files.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/virschematest.c

index 50dcc5d9d747b3ff03bfd50a45365a7157ee5739..6ce09d473733228b20b42871438e60150536d0ae 100644 (file)
@@ -213,6 +213,7 @@ testSchemaEntries(const char *schema,
 static const struct testSchemaEntry schemaCapability[] = {
     { .dir = "tests/capabilityschemadata" },
     { .dir = "tests/vircaps2xmldata" },
+    { .dir = "tests/qemucaps2xmloutdata" },
 };
 
 static const struct testSchemaEntry schemaDomain[] = {
@@ -272,6 +273,8 @@ static const struct testSchemaEntry schemaNetwork[] = {
     { .dir = "tests/networkxml2confdata" },
     { .dir = "examples/xml/test/",
       .dirRegex = "testnet.*" },
+    { .dir = "tests/networkxml2xmlupdateout" },
+    { .dir = "tests/networkxml2firewalldata" },
 };
 
 static const struct testSchemaEntry schemaNetworkport[] = {
@@ -286,6 +289,8 @@ static const struct testSchemaEntry schemaNodedev[] = {
 static const struct testSchemaEntry schemaNwfilter[] = {
     { .dir = "tests/nwfilterxml2xmlout" },
     { .dir = "src/nwfilter/xml" },
+    { .dir = "tests/nwfilterxml2xmlin" },
+    { .dir = "tests/nwfilterxml2firewalldata" },
 };
 
 static const struct testSchemaEntry schemaNwfilterbinding[] = {