mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
c4d6465aa7
commit
fa20e7b1bc
|
@ -89,7 +89,7 @@ EXTRA_DIST = \
|
|||
capabilityschemadata \
|
||||
commanddata \
|
||||
cputestdata \
|
||||
domaincapsschemadata \
|
||||
domaincapsdata \
|
||||
domainconfdata \
|
||||
domainschemadata \
|
||||
fchostdata \
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue