libvirt/tests
Daniel P. Berrange 46992453b9 Annotate many methods with ATTRIBUTE_RETURN_CHECK & fix problems
Nearly all of the methods in src/util/util.h have error codes that
must be checked by the caller to correct detect & report failure.
Add ATTRIBUTE_RETURN_CHECK to ensure compile time validation of
this

* daemon/libvirtd.c: Add explicit check on return value of virAsprintf
* src/conf/domain_conf.c: Add missing check on virParseMacAddr return
  value status & report error
* src/network/bridge_driver.c: Add missing OOM check on virAsprintf
  and report error
* src/qemu/qemu_conf.c: Add missing check on virParseMacAddr return
  value status & report error
* src/security/security_selinux.c: Remove call to virRandomInitialize
  that's done in libvirt.c already
* src/storage/storage_backend_logical.c: Add check & log on virRun
  return status
* src/util/util.c: Add missing checks on virAsprintf/Run status
* src/util/util.h: Annotate all methods with ATTRIBUTE_RETURN_CHECK
  if they return an error status code
* src/vbox/vbox_tmpl.c: Add missing check on virParseMacAddr
* src/xen/xm_internal.c: Add missing checks on virAsprintf
* tests/qemuargv2xmltest.c: Remove bogus call to virRandomInitialize()
2009-11-02 11:09:03 -05:00
..
capabilityschemadata Add a more featureful qemu capabilities test data 2009-09-10 12:25:42 +01:00
confdata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
domainschemadata Support for container related domain XML extensions 2008-08-01 13:31:37 +00:00
interfaceschemadata Add netcf XML schemas and test data 2009-07-15 20:16:36 +02:00
networkxml2xmlin Add support for an external TFTP boot server 2009-10-28 15:57:49 +01:00
networkxml2xmlout Add support for an external TFTP boot server 2009-10-28 15:57:49 +01:00
nodedevschemadata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
nodeinfodata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
qemuhelpdata Add qemu -help test data for qemu-kvm-0.11.0-rc2 2009-09-10 12:37:35 +01:00
qemuxml2argvdata Support QEMU watchdog device. 2009-10-21 16:37:44 +01:00
sexpr2xmldata Don't blindly reorder disk drives 2009-09-02 15:19:34 +01:00
storagepoolxml2xmlin tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
storagepoolxml2xmlout tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
storagevolxml2xmlin tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
storagevolxml2xmlout tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
vmx2xmldata ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
xencapsdata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
xmconfigdata remove all .cvsignore files 2009-07-08 16:17:51 +02:00
xml2sexprdata Don't blindly reorder disk drives 2009-09-02 15:19:34 +01:00
xml2vmxdata ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
.gitignore tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
.valgrind.supp Fix bogus valgrind memory leak warnings in test suite 2009-01-28 21:53:48 +00:00
capabilityschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
conftest.c extend the configuration parser for VMX syntax 2009-06-19 12:34:30 +00:00
cpuset Fix up "make check" 2009-10-07 12:18:13 +02:00
daemon-conf Fix up "make check" 2009-10-07 12:18:13 +02:00
define-dev-segfault Fix up "make check" 2009-10-07 12:18:13 +02:00
domainschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
esxutilstest.c ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
eventtest.c Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
int-overflow Fix up "make check" 2009-10-07 12:18:13 +02:00
interfaceschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
interfacexml2xmltest.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
libvirtd-fail Fix up "make check" 2009-10-07 12:18:13 +02:00
libvirtd-pool Fix up "make check" 2009-10-07 12:18:13 +02:00
Makefile.am Fix a make dist error due to wrong EXTRA_DIST paths 2009-10-21 11:16:21 +02:00
networkschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
networkxml2xmltest.c Add support for an external TFTP boot server 2009-10-28 15:57:49 +01:00
nodedevschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
nodedevxml2xmltest.c NPIV implementation for node device create and destroy 2009-06-02 15:12:53 +00:00
nodeinfotest.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
object-locking.ml Fix up a few typos in the tree. 2009-09-30 14:05:24 +02:00
oomtrace.pl Generic test suite helpers for OOM testing 2008-05-29 15:21:45 +00:00
qemuargv2xmltest.c Annotate many methods with ATTRIBUTE_RETURN_CHECK & fix problems 2009-11-02 11:09:03 -05:00
qemuhelptest.c Move QEMU driver to src/qemu/ 2009-09-21 14:41:43 +01:00
qemuxml2argvtest.c Fix handling of Xen(ner) detection 2009-09-22 16:13:33 +01:00
qemuxml2xmltest.c Move QEMU driver to src/qemu/ 2009-09-21 14:41:43 +01:00
qparamtest.c build: enable redundant-const check 2009-02-03 13:08:59 +00:00
read-bufsiz Fix up "make check" 2009-10-07 12:18:13 +02:00
read-non-seekable Fix up "make check" 2009-10-07 12:18:13 +02:00
reconnect.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
schematestutils.sh Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
secaatest.c sVirt AppArmor security driver 2009-10-08 16:34:22 +02:00
seclabeltest.c Move security drivers to src/security/ 2009-09-21 14:41:44 +01:00
sexpr2xmltest.c Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
start Fix up "make check" 2009-10-07 12:18:13 +02:00
statstest.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
storagepoolschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
storagepoolxml2xmltest.c tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
storagevolschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
storagevolxml2xmltest.c tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
test_conf.sh Fix up "make check" 2009-10-07 12:18:13 +02: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 tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
testutils.h tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
testutilsqemu.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
testutilsqemu.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
testutilsxen.c Fix crashes in Xen capabilities code 2009-07-27 16:45:01 +01:00
testutilsxen.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
undefine Fix up "make check" 2009-10-07 12:18:13 +02:00
vcpupin Fix up "make check" 2009-10-07 12:18:13 +02:00
virsh-all Fix up "make check" 2009-10-07 12:18:13 +02:00
virsh-synopsis Fix up "make check" 2009-10-07 12:18:13 +02:00
virshtest.c Move example XML files into examples/xml 2009-09-21 14:41:48 +01:00
virt-aa-helper-test sVirt AppArmor security driver 2009-10-08 16:34:22 +02:00
vmx2xmltest.c ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
xencapstest.c Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xmconfigtest.c Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xml2sexprtest.c Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xml2vmxtest.c ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00