mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-22 22:13:18 +00:00
virschematest: Add coverage for 'examples/xml/storage'
Match the correct subsets of the files via the 'dirRegex' property. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
11acb6f4eb
commit
933b4b9980
@ -290,12 +290,16 @@ static const struct testSchemaEntry schemaStoragePool[] = {
|
|||||||
{ .dir = "tests/storagepoolxml2xmlin" },
|
{ .dir = "tests/storagepoolxml2xmlin" },
|
||||||
{ .dir = "tests/storagepoolxml2xmlout" },
|
{ .dir = "tests/storagepoolxml2xmlout" },
|
||||||
{ .dir = "tests/storagepoolschemadata" },
|
{ .dir = "tests/storagepoolschemadata" },
|
||||||
|
{ .dir = "examples/xml/storage",
|
||||||
|
.dirRegex = "pool-.*" },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct testSchemaEntry schemaStorageVol[] = {
|
static const struct testSchemaEntry schemaStorageVol[] = {
|
||||||
{ .dir = "tests/storagevolxml2xmlin" },
|
{ .dir = "tests/storagevolxml2xmlin" },
|
||||||
{ .dir = "tests/storagevolxml2xmlout" },
|
{ .dir = "tests/storagevolxml2xmlout" },
|
||||||
{ .dir = "tests/storagevolschemadata" },
|
{ .dir = "tests/storagevolschemadata" },
|
||||||
|
{ .dir = "examples/xml/storage",
|
||||||
|
.dirRegex = "vol-.*" },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user