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 * NEWS virsh.1 docs//* include/libvirt/libvirt.h[.in] qemud/mdns.h 2008-03-17 10:27:31 +00:00
domainschemadata Support for container related domain XML extensions 2008-08-01 13:31:37 +00:00
nodeinfodata Use gnulib, starting with its physmem and getaddrinfo modules. 2007-12-05 21:31:07 +00:00
qemuxml2argvdata Support SDL config with QEMU guests 2008-10-10 16:52:20 +00:00
sexpr2xmldata Switch domain device objects to array instead of linked list 2008-10-10 16:08:01 +00:00
virshdata Fix make syntax-check caused by trailing blanks 2008-05-29 05:21:53 +00:00
xencapsdata Add formal internal capabilities API and update drivers to use it 2008-02-27 04:35:08 +00:00
xmconfigdata Fix broken test case data files 2008-09-17 15:39:11 +00:00
xml2sexprdata Fix broken test case data files 2008-09-17 15:39:11 +00:00
.cvsignore Fix misc leaks in qparams code, support ; as param separator. Add test suite 2008-05-22 23:49:36 +00:00
.valgrind.supp Misc bug fixes 2008-07-25 09:31:24 +00:00
conftest.c convert TAB-based indentation in C sources to use only spaces 2008-04-10 16:54:54 +00:00
daemon-conf Test libvirtd's config-processing code. 2007-12-11 21:20:13 +00:00
domainschematest Slim down schema test result output 2008-10-06 19:25:29 +00:00
int-overflow Oops, forgot, Daniel 2007-11-12 14:07:37 +00:00
Makefile.am Added test to validate all domain XML files against schema 2008-08-01 10:53:41 +00:00
nodeinfotest.c Convert test suites over to new test infrastructure 2008-05-29 15:31:49 +00:00
oomtrace.pl Generic test suite helpers for OOM testing 2008-05-29 15:21:45 +00:00
qemuxml2argvtest.c Support SDL config with QEMU guests 2008-10-10 16:52:20 +00:00
qemuxml2xmltest.c llow to add a disk as an USB device (QEmu/KVM) 2008-08-08 15:03:00 +00:00
qparamtest.c Convert test suites over to new test infrastructure 2008-05-29 15:31:49 +00:00
read-bufsiz virsh fails to read files larger than BUFSIZ bytes 2008-06-19 14:30:52 +00:00
read-non-seekable Convert test driver to new domain XML apis 2008-07-11 16:41:27 +00:00
reconnect.c Standardize use of header files, making internal.h primary. 2008-05-23 08:24:41 +00:00
sexpr2xmltest.c Fix reading vncdisplay from xend, add several test cases for xen vnc corner case 2008-09-09 13:53:58 +00:00
statstest.c Recently upstream Xen added support for having xvd devices > 16. For the most 2008-08-05 16:38:49 +00:00
test_conf.sh Re-factor and pretty print differences 2008-04-18 15:28:33 +00:00
test_xmlrpc.sh XML-RPC tests 2006-05-09 15:35:46 +00:00
test-lib.sh Don't fail to read a file because it's non-seekable (e.g., a pipe). 2008-04-08 15:33:16 +00:00
testutils.c Fix use of VIR_TEST_DEBUG var when OOM testing is not enabled & surpress more valgrind warnings 2008-07-09 10:27:17 +00:00
testutils.h Do conditional driver config in Makefile.am, not source files 2008-08-20 20:48:35 +00:00
testutilsqemu.c Compilation fixes for MinGW 2008-06-26 09:37:51 +00:00
testutilsqemu.h Make QEMU test suite independant of host OS capabilities 2008-05-16 16:51:30 +00:00
testutilsxen.c fix compilation for MinGW 2008-08-12 08:25:48 +00:00
testutilsxen.h Convert XenD XML->SEXPR conversion to new domain XML APIs 2008-07-25 13:17:27 +00:00
undefine testError format strings: explicitly include domain and network names 2008-10-11 07:24:49 +00:00
vcpupin * tests/vcpupin: Add a test for the 2008-04-04 virsh.c bugfix. 2008-04-07 12:12:34 +00:00
virshtest.c Remove legacy debug output 2008-07-09 10:18:03 +00:00
xencapstest.c Fix xen capabilities data creation 2008-09-05 11:35:43 +00:00
xmconfigtest.c Fix reading vncdisplay from xend, add several test cases for xen vnc corner case 2008-09-09 13:53:58 +00:00
xml2sexprtest.c Fix reading vncdisplay from xend, add several test cases for xen vnc corner case 2008-09-09 13:53:58 +00:00
xmlrpcserver.py XML-RPC tests 2006-05-09 15:35:46 +00:00
xmlrpctest.c Standardize use of header files, making internal.h primary. 2008-05-23 08:24:41 +00:00