Match the correct subsets of the files via the 'dirRegex' property.

Signed-off-by: Peter Krempa <[email protected]>
---
 tests/virschematest.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/virschematest.c b/tests/virschematest.c
index 7d7db3e354..29cd5cc6e3 100644
--- a/tests/virschematest.c
+++ b/tests/virschematest.c
@@ -290,12 +290,16 @@ static const struct testSchemaEntry schemaStoragePool[] = 
{
     { .dir = "tests/storagepoolxml2xmlin" },
     { .dir = "tests/storagepoolxml2xmlout" },
     { .dir = "tests/storagepoolschemadata" },
+    { .dir = "examples/xml/storage",
+      .dirRegex = "pool-.*" },
 };

 static const struct testSchemaEntry schemaStorageVol[] = {
     { .dir = "tests/storagevolxml2xmlin" },
     { .dir = "tests/storagevolxml2xmlout" },
     { .dir = "tests/storagevolschemadata" },
+    { .dir = "examples/xml/storage",
+      .dirRegex = "vol-.*" },
 };


-- 
2.26.2

Reply via email to