libvirt/tests
Jim Meyering 6ac274673c testError format strings: explicitly include domain and network names
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.
2008-10-11 07:24:49 +00:00
..
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 testError format strings: explicitly include domain and network names 2008-10-11 07:24:49 +00:00
vcpupin
virshtest.c
xencapstest.c
xmconfigtest.c
xml2sexprtest.c
xmlrpcserver.py
xmlrpctest.c