From: Peter Krempa Date: Tue, 6 Oct 2020 15:28:44 +0000 (+0200) Subject: virschematest: Add coverage for 'examples/xml/storage' X-Git-Tag: v6.9.0-rc1~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=933b4b9980e411759339471ac919d9d3279663d3;p=thirdparty%2Flibvirt.git virschematest: Add coverage for 'examples/xml/storage' Match the correct subsets of the files via the 'dirRegex' property. Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik --- 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-.*" }, };