[PATCH v2 17/18] virschematest: Validate more XMLs

Peter Krempa pkrempa at redhat.com
Mon Oct 19 12:22:26 UTC 2020


We weren't validating certain directories containing nwfilter, network
and capability XML test files.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tests/virschematest.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/virschematest.c b/tests/virschematest.c
index 50dcc5d9d7..6ce09d4737 100644
--- a/tests/virschematest.c
+++ b/tests/virschematest.c
@@ -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[] = {
-- 
2.26.2




More information about the libvir-list mailing list