libvirt/tests
Ján Tomko d66e136bd5 Fix build with older gcc
My commit af1c98e4 broke the build on RHEL-6:
vircgrouptest.c: In function 'testCgroupGetPercpuStats':
vircgrouptest.c:566: error: nested extern declaration of
'_gl_verify_function2' [-Wnested-externs]

The only thing that needs checking is that the array size
is at least EXPECTED_NCPUS, to prevent access beyond the array.

We can ensure the minimum size also by specifying the array
size upfront.
2015-01-23 10:35:20 +01:00
..
bhyvexml2argvdata drvbhyve: Use boot-order for grub-bhyve boot device 2014-11-13 15:40:48 +01:00
bhyvexml2xmloutdata
capabilityschemadata capabilities: Format <domain/> properly 2014-12-24 18:01:44 +01:00
commanddata command: test umask support 2014-09-03 09:36:13 -06:00
confdata
cputestdata Don't include non-migratable features in host-model 2014-09-05 12:45:19 +02:00
domaincapsschemadata domaincaps: Expose UEFI binary path, if it exists 2014-09-17 16:29:49 +02:00
domainconfdata
domainschemadata add ploop fs driver type 2015-01-16 14:07:46 +01:00
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
fchostdata/fc_host
interfaceschemadata
lxcconf2xmldata Use the network route definitions for domains 2015-01-16 10:14:03 +01:00
lxcxml2xmldata Use the network route definitions for domains 2015-01-16 10:14:03 +01:00
lxcxml2xmloutdata
networkxml2confdata network: Let domains be restricted to local DNS 2015-01-20 01:07:18 -05:00
networkxml2firewalldata
networkxml2xmlin conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
networkxml2xmlout conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata Add unique_id to nodedev output 2014-07-21 12:55:11 -04:00
nodeinfodata
nwfilterxml2firewalldata nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
nwfilterxml2xmlin nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
nwfilterxml2xmlout nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
qemuagentdata qemu: add test for qemuAgentGetFSInfo 2014-11-24 10:29:16 -05:00
qemucapabilitiesdata caps: introduce new QEMU capability for vgamem_mb device property 2014-11-24 22:05:56 +01:00
qemucaps2xmldata
qemuhelpdata qemu: Don't try to parse -help for new QEMU 2014-11-13 21:25:50 +01:00
qemuhotplugtestdata video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
qemumonitorjsondata
qemuxml2argvdata qemu: format server interface without a listen address 2015-01-21 13:22:36 +01:00
qemuxml2xmloutdata docs, schema, conf: Add support for PMU feature 2015-01-16 13:43:46 +01:00
qemuxmlnsdata
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata selinux: enhance test to cover nfs label failure 2013-08-20 10:46:58 -06:00
sexpr2xmldata Domain conf: allow more than one IP address for net devices 2015-01-05 20:24:04 +01:00
storagepoolschemadata
storagepoolxml2xmlin storage: Introduce 'managed' for the fchost parent 2014-11-12 10:18:28 -05:00
storagepoolxml2xmlout storage: Introduce 'managed' for the fchost parent 2014-11-12 10:18:28 -05:00
storagevolschemadata
storagevolxml2argvdata Fix a crash when cloning a volume with no backing store 2014-08-01 15:42:28 +02:00
storagevolxml2xmlin storage: unify permission formatting 2014-12-16 15:47:56 +01:00
storagevolxml2xmlout storage: unify permission formatting 2014-12-16 15:47:56 +01:00
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata
virfiledata
virpcitestdata
virscsidata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata vmx: Fix a VMX parsing problem 2015-01-07 17:17:00 -07:00
xencapsdata capabilities: Format <domain/> properly 2014-12-24 18:01:44 +01:00
xlconfigdata tests: Tests for the xen-xl parser 2015-01-14 08:28:50 -07:00
xmconfigdata Add tests to xmconfigtest 2015-01-04 11:10:14 -07:00
xml2sexprdata
xml2vmxdata
.valgrind.supp
bhyvexml2argvmock.c bhyve: tests: fix build 2014-09-18 13:37:12 +04:00
bhyvexml2argvtest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
bhyvexml2xmltest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
capabilityschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
commandhelper.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
commandtest.c command: test umask support 2014-09-03 09:36:13 -06:00
cpuset virBitmapParse: Fix behavior in case of error and fix up callers 2013-08-22 11:38:36 +02:00
cputest.c Decouple CPU XML formatting from domain XML public API flags 2015-01-13 16:19:56 +00:00
define-dev-segfault
domaincapsschematest Introduce domain_capabilities 2014-07-03 12:22:37 +02:00
domaincapstest.c Fix build in qemu_capabilities 2014-09-18 13:37:12 +04:00
domainconftest.c
domainschematest schema: bhyve and nmdm updates 2014-07-29 09:52:16 +04:00
domainsnapshotschematest
domainsnapshotxml2xmltest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
esxutilstest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
eventtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
fchosttest.c
fdstreamtest.c
int-overflow
interfaceschematest
interfacexml2xmltest.c
jsontest.c
libvirtd-fail
libvirtd-pool
libvirtdconftest.c virconf: Introduce VIR_CONF_ULONG 2014-12-15 10:34:18 +01:00
lxcconf2xmltest.c
lxcxml2xmltest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
Makefile.am tests: fix xlconfigtest build failure 2015-01-20 21:03:09 -07:00
metadatatest.c test: metadata: Improve test coverage 2014-07-17 17:04:12 +02:00
networkschematest
networkxml2conftest.c network: Let domains be restricted to local DNS 2015-01-20 01:07:18 -05:00
networkxml2firewalltest.c tests: Set up two more overrides for root builders 2014-12-23 06:10:55 +01:00
networkxml2xmltest.c conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
networkxml2xmlupdatetest.c
nodedevschematest
nodedevxml2xmltest.c Add unique_id to nodedev output 2014-07-21 12:55:11 -04:00
nodeinfotest.c
nwfilterebiptablestest.c test: fix nwfilter tests following changes in virfirewall.c 2014-12-22 16:57:21 -05:00
nwfilterschematest
nwfilterxml2firewalltest.c test: fix nwfilter tests following changes in virfirewall.c 2014-12-22 16:57:21 -05:00
nwfilterxml2xmltest.c
objecteventtest.c Resolve Coverity CHECKED_RETURN 2014-09-15 10:44:27 -04:00
objectlocking.ml
oomtrace.pl
openvzutilstest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
openvzutilstest.conf
pkix_asn1_tab.c Add a test case for certificate validation 2011-07-22 15:18:32 +01:00
qemuagenttest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
qemuargv2xmltest.c tests: Fix sharable typo 2014-12-09 10:02:20 -05:00
qemucapabilitiestest.c qemu: Add RDMA migration capabilities 2014-09-23 08:11:49 +02:00
qemucaps2xmltest.c capabilities: use bool instead of int 2014-07-14 08:00:46 -06:00
qemuhelptest.c Report original error when QMP probing fails with new QEMU 2014-12-05 10:57:46 +00:00
qemuhotplugtest.c Mark the domain as active in qemuhotplugtest 2015-01-14 19:30:32 +01:00
qemumonitorjsontest.c tests: Fix misplaced parenthesis in qemumonitorjsontest 2014-12-04 11:43:22 +01:00
qemumonitortest.c
qemumonitortestutils.c
qemumonitortestutils.h
qemuxml2argvmock.c numa: split util/ and conf/ and support non-contiguous nodesets 2014-11-06 15:13:55 +01:00
qemuxml2argvtest.c qemu: Add support for enabling/disabling PMU 2015-01-16 13:43:46 +01:00
qemuxml2xmltest.c Add an XML test for host-model CPU with features 2015-01-19 10:11:15 +01:00
qemuxmlnstest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
read-bufsiz
read-non-seekable
reconnect.c
schematestutils.sh
scsihosttest.c scsi_host: Introduce virFindSCSIHostByPCI 2014-07-21 12:55:11 -04:00
seclabeltest.c maint: use hanging curly braces 2014-09-04 15:18:43 -06:00
secretschematest
secretxml2xmltest.c
securityselinuxhelper.c
securityselinuxlabeltest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
securityselinuxtest.c
sexpr2xmltest.c xen: rename xenxs to xenconfig 2014-08-18 20:36:24 -06:00
shunloadhelper.c
shunloadtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
sockettest.c conf: add check if migration_host is a localhost address 2014-10-15 09:25:33 +02:00
ssh.c
start
statstest.c util: virstatslinux: make more generic 2014-07-15 22:00:59 +04:00
storagebackendsheepdogtest.c
storagepoolschematest
storagepoolxml2xmltest.c Make ZFS storage pool XML tests optional 2015-01-19 15:03:01 +01:00
storagevolschematest
storagevolxml2argvtest.c Fix a crash when cloning a volume with no backing store 2014-08-01 15:42:28 +02:00
storagevolxml2xmltest.c storage: unify permission formatting 2014-12-16 15:47:56 +01:00
sysinfotest.c
test_conf.c test_conf: Resolve Coverity RESOURCE_LEAK 2014-09-03 15:00:19 -04:00
test_conf.sh
test-lib.sh test-lib: Make case skipping possible 2013-09-13 10:25:56 +02:00
testutils.c test: xml2xml: Print full filenames if xml2xml test fails 2014-11-21 11:00:10 +01:00
testutils.h test: xml2xml: Print full filenames if xml2xml test fails 2014-11-21 11:00:10 +01:00
testutilslxc.c capabilities: use bool instead of int 2014-07-14 08:00:46 -06:00
testutilslxc.h
testutilsqemu.c tests: Add test cases for previous commit 2014-09-05 08:35:34 +02:00
testutilsqemu.h tests: Move qemu caps XML parsing into shared unit 2014-07-03 12:22:37 +02:00
testutilsxen.c tests: Tests for the xen-xl parser 2015-01-14 08:28:50 -07:00
testutilsxen.h tests: Tests for the xen-xl parser 2015-01-14 08:28:50 -07:00
utiltest.c internal: add macro to round value to the next closest power of 2 2014-11-24 22:05:55 +01:00
vboxsnapshotxmltest.c vboxsnapshotxmltest: Don't write to a file in abs_srcdir 2014-07-01 16:46:29 +02:00
vcpupin
viralloctest.c
viratomictest.c
virauthconfigtest.c
virbitmaptest.c bitmap: add virBitmapLastSetBit for finding the last bit position of bitmap 2014-11-04 07:03:36 +01:00
virbuftest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
vircaps2xmltest.c capabilities: use bool instead of int 2014-07-14 08:00:46 -06:00
vircapstest.c capabilities: use bool instead of int 2014-07-14 08:00:46 -06:00
vircgroupmock.c Fix virCgroupGetPercpuStats with non-continuous present CPUs 2015-01-22 17:01:11 +01:00
vircgrouptest.c Fix build with older gcc 2015-01-23 10:35:20 +01:00
vircryptotest.c
virdbustest.c dbus: fix arrays of bools 2014-11-25 08:47:12 -07:00
virdrivermoduletest.c virdrivermoduletest: Test all the modules 2014-08-27 07:41:48 +02:00
virendiantest.c
virfiletest.c
virfirewalltest.c tests: Set up two more overrides for root builders 2014-12-23 06:10:55 +01:00
virhashdata.h Rename hash.h and hash.c to virhash.h and virhash.c 2012-01-26 14:11:13 +00:00
virhashtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
virhostdevtest.c maint: avoid static zero init in tests 2014-10-29 09:55:09 -06:00
viridentitytest.c
viriscsitest.c
virkeycodetest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virkeyfiletest.c
virkmodtest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virlockspacetest.c
virlogtest.c
virmock.h tests: fix documentation for mocking methods 2014-11-27 11:17:56 +01:00
virmockdbus.c
virnetdevbandwidthmock.c Iface: disallow network tuning in session mode globally 2014-11-06 14:28:37 +01:00
virnetdevbandwidthtest.c conf: Increase virNetDevBandwidthParse intelligence 2015-01-13 18:24:15 +01:00
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c
virnettlscontexttest.c tests: force FIPS testing mode with new enough GNU TLS versions 2014-09-04 11:56:39 +02:00
virnettlshelpers.c Fix assignment of comparison against zero 2014-07-16 09:39:57 +02:00
virnettlshelpers.h
virnettlssessiontest.c tests: force FIPS testing mode with new enough GNU TLS versions 2014-09-04 11:56:39 +02:00
virpcimock.c
virpcitest.c
virpolkittest.c Convert polkit code to use DBus API instead of CLI helper 2014-09-24 15:29:22 +01:00
virportallocatortest.c maint: avoid static zero init in tests 2014-10-29 09:55:09 -06:00
virscsitest.c maint: avoid static zero init in tests 2014-10-29 09:55:09 -06:00
virsh-all
virsh-optparse
virsh-schedinfo
virsh-synopsis
virsh-undefine
virsh-uriprecedence
virshtest.c
virstoragetest.c storage: Allow parsing of RBD backing strings when building backing chain 2014-11-21 14:37:02 +01:00
virstringtest.c test: Add test to verify helpers used for backing file name parsing 2014-10-29 17:10:42 +01:00
virsystemdtest.c Add support for systemd-machined CreateMachineWithNetwork 2015-01-15 11:07:07 +00:00
virt-aa-helper-test video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
virtimetest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
viruritest.c test: Add test to verify helpers used for backing file name parsing 2014-10-29 17:10:42 +01:00
virusbmock.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
virusbtest.c Indent top-level labels by one space in tests/ 2014-03-25 14:58:41 +01:00
vmwarevertest.c
vmx2xmltest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
xencapstest.c Use K&R style for curly braces in tests/ 2014-03-20 17:06:38 +01:00
xlconfigtest.c tests: fix xlconfigtest build failure 2015-01-20 21:03:09 -07:00
xmconfigtest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
xml2sexprtest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
xml2vmxtest.c Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00