From 933b4b9980e411759339471ac919d9d3279663d3 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Tue, 6 Oct 2020 17:28:44 +0200 Subject: [PATCH] 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 --- 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-.*" }, };