tests: Rename domaincapsschemadata/ -> domaincapsdata/

The usual convention is to use ${foo}test.c for the test program
itself and either ${foo}data/ or ${foo}outdata/, depending on
whether it contains both input and output files or only the latter,
for the corresponding data directory.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Andrea Bolognani 2019-10-22 14:36:41 +02:00
parent c4d6465aa7
commit fa20e7b1bc
33 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ EXTRA_DIST = \
capabilityschemadata \
commanddata \
cputestdata \
domaincapsschemadata \
domaincapsdata \
domainconfdata \
domainschemadata \
fchostdata \

View File

@ -217,7 +217,7 @@ test_virDomainCapsFormat(const void *opaque)
char *domCapsXML = NULL;
int ret = -1;
if (virAsprintf(&path, "%s/domaincapsschemadata/%s.xml",
if (virAsprintf(&path, "%s/domaincapsdata/%s.xml",
abs_srcdir, data->name) < 0)
goto cleanup;

View File

@ -221,7 +221,7 @@ mymain(void)
"lxcxml2xmloutdata", "bhyvexml2argvdata", "genericxml2xmlindata",
"genericxml2xmloutdata", "xlconfigdata", "libxlxml2domconfigdata",
"qemuhotplugtestdomains");
DO_TEST_DIR("domaincaps.rng", "domaincapsschemadata");
DO_TEST_DIR("domaincaps.rng", "domaincapsdata");
DO_TEST_DIR("domaincheckpoint.rng", "qemudomaincheckpointxml2xmlin",
"qemudomaincheckpointxml2xmlout");
DO_TEST_DIR("domainsnapshot.rng", "qemudomainsnapshotxml2xmlin",