[PATCH 06/21] virschematest: Add coverage for 'examples/xml/storage'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux