mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
6ac274673c
This repairs the "make check" failure of tests/undefine. * src/test.c (testResumeDomain, testPauseDomain): Likewise. (testShutdownDomain, testGetDomainInfo, ): Likewise. (testSetMemory, testSetVcpus, testDomainCreate, testDomainUndefine) (testDomainGetSchedulerType, testDomainGetSchedulerParams): Likewise. (testDomainSetSchedulerParams, testNetworkUndefine): Likewise. (testNetworkStart, testNetworkGetBridgeName): Likewise. (testDomainCoreDump, testDomainSave): Likewise, and... Name the file upon failed open or write. Use strerror(errno) in diagnostics. * tests/undefine: Adjust expected output. test.c (testError): Remove now-ignored dom and net parameters. This is a sytnax-only change: removing the two unused parameters and updating all callers: * src/test.c (GET_DOMAIN, GET_NETWORK, testError) (testBuildCapabilities, testOpenDefault, testOpenFromFile) (testOpen, testGetHostname, testGetURI, testGetCapabilities) (testLookupDomainByID, testLookupDomainByUUID) (testLookupDomainByName, testResumeDomain, testPauseDomain) (testShutdownDomain, testGetDomainInfo, testDomainSave) (testDomainRestore, testDomainCoreDump, testGetOSType) (testSetMemory, testSetVcpus, testListDefinedDomains) (testNodeGetCellsFreeMemory, testDomainCreate) (testDomainUndefine, testDomainGetSchedulerType) (testDomainGetSchedulerParams, testDomainSetSchedulerParams) (testLookupNetworkByUUID, testLookupNetworkByName) (testListNetworks, testListDefinedNetworks, testNetworkUndefine) (testNetworkStart, testNetworkGetBridgeName): Update callers. |
||
---|---|---|
.. | ||
confdata | ||
domainschemadata | ||
nodeinfodata | ||
qemuxml2argvdata | ||
sexpr2xmldata | ||
virshdata | ||
xencapsdata | ||
xmconfigdata | ||
xml2sexprdata | ||
.cvsignore | ||
.valgrind.supp | ||
conftest.c | ||
daemon-conf | ||
domainschematest | ||
int-overflow | ||
Makefile.am | ||
nodeinfotest.c | ||
oomtrace.pl | ||
qemuxml2argvtest.c | ||
qemuxml2xmltest.c | ||
qparamtest.c | ||
read-bufsiz | ||
read-non-seekable | ||
reconnect.c | ||
sexpr2xmltest.c | ||
statstest.c | ||
test_conf.sh | ||
test_xmlrpc.sh | ||
test-lib.sh | ||
testutils.c | ||
testutils.h | ||
testutilsqemu.c | ||
testutilsqemu.h | ||
testutilsxen.c | ||
testutilsxen.h | ||
undefine | ||
vcpupin | ||
virshtest.c | ||
xencapstest.c | ||
xmconfigtest.c | ||
xml2sexprtest.c | ||
xmlrpcserver.py | ||
xmlrpctest.c |