libvirt/tests
Daniel P. Berrange ba08c5932e Fix unitialized data in virSocketAddrMask
The virSocketAddrMask method did not initialize all fields
in the sockaddr_in6 struct. In paticular the 'sin6_scope_id'
field could contain random garbage, which would in turn
affect the result of any later virSocketAddrFormat calls.
This led to ip6tables rules in the FORWARD chain which
matched on random garbage sin6_scope_id. Fortunately these
were ACCEPT rules, so the impact was merely that desired
traffic was blocked, rather than undesired traffic allowed.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2014-03-20 12:15:00 +00:00
..
capabilityschemadata capabilities: add baselabel per sec driver/virt type to secmodel 2013-10-29 07:06:04 -06:00
commanddata build: clean up stray files found by 'make distcheck' 2013-05-06 14:01:08 -06:00
confdata Change the default of mdns_adv to false 2012-03-27 09:54:49 -06:00
cputestdata tests: Add more tests for virConnectBaselineCPU 2014-01-28 21:27:37 +01:00
domainconfdata Rename virDomainGetRootFilesystem to virDomainGetFilesystemForTarget 2014-02-20 15:50:46 +00:00
domainschemadata Add XML config for resource partitions 2013-04-15 17:35:31 +01:00
domainsnapshotxml2xmlin snapshot: Add support for specifying snapshot disk backing type 2014-01-29 12:56:35 +01:00
domainsnapshotxml2xmlout snapshot: Add support for specifying snapshot disk backing type 2014-01-29 12:56:35 +01:00
fchostdata/fc_host tests: Add tests for fc_host 2013-05-13 17:24:18 +08:00
interfaceschemadata
lxcconf2xmldata LXC from native: convert blkio throttle config 2014-02-12 17:52:47 +00:00
lxcxml2xmldata schema: fix idmap validation 2014-01-10 10:54:14 -07:00
lxcxml2xmloutdata Allow root directory in filesystem source dir schema 2013-11-07 18:43:15 +01:00
networkxml2confdata network: change default of forwardPlainNames to 'yes' 2014-02-04 12:00:26 +02:00
networkxml2xmlin Add forwarder attribute to <dns/> element 2013-09-17 17:47:33 -06:00
networkxml2xmlout network: change default of forwardPlainNames to 'yes' 2014-02-04 12:00:26 +02:00
networkxml2xmlupdatein Test network update XML parsing 2013-08-28 08:05:46 +02:00
networkxml2xmlupdateout network: change default of forwardPlainNames to 'yes' 2014-02-04 12:00:26 +02:00
nodedevschemadata nodedev: add iommuGroup to node device object 2013-06-26 14:10:56 -04:00
nodeinfodata Add test for linuxNodeGetCPUStats 2014-01-27 11:04:02 +01:00
nwfilterxml2xmlin nwfilter: Add support for ipset 2012-05-21 06:26:34 -04:00
nwfilterxml2xmlout nwfilter: Add support for ipset 2012-05-21 06:26:34 -04:00
qemucapabilitiesdata qemu: Add USB keyboard capability 2014-02-19 09:16:31 +01:00
qemuhelpdata qemu: Support setting the 'removable' flag for USB disks 2013-09-02 14:45:38 +02:00
qemuhotplugtestdata qemuhotplugtest: Fix mem-leaking testcases 2014-03-19 14:48:58 +01:00
qemumonitorjsondata qemu: Add monitor APIs to fetch CPUID data from QEMU 2013-11-08 09:44:36 +01:00
qemuxml2argvdata qemuhotplugtest: Fix mem-leaking testcases 2014-03-19 14:48:58 +01:00
qemuxml2xmloutdata conf: Add keyboard input device type 2014-02-19 09:16:31 +01:00
qemuxmlnsdata qemu: Set QEMU_AUDIO_DRV=none with -nographic 2013-09-02 16:53:39 -04:00
secretxml2xmlin Add tests for secret XML parsing 2014-02-14 16:47:14 +01:00
securityselinuxhelperdata tests: Flesh out securityselinuxhelper 2014-03-07 14:02:10 +01:00
securityselinuxlabeldata selinux: enhance test to cover nfs label failure 2013-08-20 10:46:58 -06:00
sexpr2xmldata conf: Add keyboard input device type 2014-02-19 09:16:31 +01:00
storagepoolschemadata schema: require target path in storage pool xml 2013-05-17 08:33:22 +02:00
storagepoolxml2xmlin storage: document gluster pool 2013-11-25 11:03:19 -07:00
storagepoolxml2xmlout storage: document gluster pool 2013-11-25 11:03:19 -07:00
storagevolschemadata schema: make source optional in volume XML 2013-05-17 08:35:08 +02:00
storagevolxml2argvdata Always specify qcow2 compat level on qemu-img command line 2013-08-27 12:45:58 +02:00
storagevolxml2xmlin storage: improve directory support in gluster pool 2013-11-25 12:46:19 -07:00
storagevolxml2xmlout storage: improve directory support in gluster pool 2013-11-25 12:46:19 -07:00
sysinfodata aarch64: Fix sysinfo test. 2014-01-01 16:34:13 +00:00
virfiledata Fix bug in identifying sub-mounts 2013-11-28 11:49:01 +00:00
virpcitestdata tests: Fix PCI test data filenames for Windows 2014-01-25 12:53:11 +01:00
virscsidata tests: Modify the scsi util tests 2014-01-30 16:34:43 +01:00
virusbtestdata/sys_bus_usb/devices Add tests for virUSBDeviceFind functions 2014-03-03 14:35:22 +01:00
vmwareverdata VMware: Add Fusion version test 2013-09-30 16:58:37 -05:00
vmx2xmldata conf: Add keyboard input device type 2014-02-19 09:16:31 +01:00
xencapsdata
xmconfigdata conf: Add keyboard input device type 2014-02-19 09:16:31 +01:00
xml2sexprdata Xen: Fix <clock> handling 2012-04-02 09:33:54 -06:00
xml2vmxdata esx: Fix floppy.fileName handling in the vmx file parser 2013-10-15 11:39:02 +01:00
.valgrind.supp valgrind: Adjust filter for _dl_allocate_tls 2013-08-01 17:04:28 -04:00
capabilityschematest
commandhelper.c testutils: Resolve Coverity issues 2013-07-11 14:18:11 -04:00
commandtest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
cpuset virBitmapParse: Fix behavior in case of error and fix up callers 2013-08-22 11:38:36 +02:00
cputest.c tests: Add more tests for virConnectBaselineCPU 2014-01-28 21:27:37 +01:00
define-dev-segfault numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
domainconftest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
domainschematest LXC: Fix handling of RAM filesystem size units 2013-10-09 17:44:45 +02:00
domainsnapshotschematest
domainsnapshotxml2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
esxutilstest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
eventtest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
fchosttest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
fdstreamtest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
int-overflow
interfaceschematest
interfacexml2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
jsontest.c Error out on unterminated arrays and objects in JSON parser 2013-11-20 12:35:44 +01:00
libvirtd-fail
libvirtd-pool
libvirtdconftest.c Remove global log buffer feature entirely 2014-03-18 14:29:22 +00:00
lxcconf2xmltest.c LXC from native: map vlan network type 2014-02-12 17:52:47 +00:00
lxcxml2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
Makefile.am build: Fix make distcheck 2014-03-19 14:43:08 +01:00
metadatatest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
networkschematest
networkxml2conftest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
networkxml2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
networkxml2xmlupdatetest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
nodedevschematest
nodedevxml2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
nodeinfotest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
nwfilterschematest
nwfilterxml2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
objecteventtest.c Fix memory leak in testDomainCreateXMLMixed() 2014-01-14 14:49:07 +01:00
objectlocking.ml tests: cleanup object-locking test 2014-03-18 10:20:49 +01:00
oomtrace.pl Remove tabs from all perl files & enforce this 2012-07-30 13:09:57 +01:00
openvzutilstest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c tests: avoid littering /tmp 2014-02-27 18:10:13 -07:00
qemuargv2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
qemucapabilitiestest.c qemu: ask for -enable-fips when FIPS is required 2013-12-18 07:05:29 -07:00
qemuhelptest.c qemu: Add USB keyboard capability 2014-02-19 09:16:31 +01:00
qemuhotplugtest.c qemuhotplugtest: Fix mem-leaking testcases 2014-03-19 14:48:58 +01:00
qemumonitorjsontest.c maint: align whitespaces with project conventions. 2014-01-20 14:35:08 +01:00
qemumonitortest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
qemumonitortestutils.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
qemumonitortestutils.h tests: Learn qemuMonitorTestNew optional greeting 2013-10-01 10:48:47 +02:00
qemuxml2argvmock.c qemuxml2argvmock: Mock time() on non-linux platforms too 2014-02-06 15:15:10 +01:00
qemuxml2argvtest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
qemuxml2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
qemuxmlnstest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
read-bufsiz maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
read-non-seekable maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
reconnect.c util: make it easier to grab only regular command exit 2014-03-03 12:40:32 -07:00
schematestutils.sh tests: skip schema validation tests if xmllint is missing 2013-08-23 15:23:44 -06:00
seclabeltest.c tests: uniformly report test failures 2013-02-25 17:38:11 -07:00
secretschematest Add tests for secret XML parsing 2014-02-14 16:47:14 +01:00
secretxml2xmltest.c Add tests for secret XML parsing 2014-02-14 16:47:14 +01:00
securityselinuxhelper.c tests: Fix SELinux tests in VPATH build 2014-03-10 10:20:30 +01:00
securityselinuxlabeltest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
securityselinuxtest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
sexpr2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
shunloadhelper.c shunloadtest: Resolve Coverity CHECKED_RETURN error 2013-05-21 09:22:21 -04:00
shunloadtest.c build: fix shunloadtest breakage 2013-07-29 13:09:39 -06:00
sockettest.c Fix unitialized data in virSocketAddrMask 2014-03-20 12:15:00 +00:00
ssh.c build: fix shunloadtest breakage 2013-07-29 13:09:39 -06:00
start maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
statstest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
storagebackendsheepdogtest.c Build breaker - requires VIR_FROM_THIS 2013-05-10 08:52:43 -04:00
storagepoolschematest schema: require target path in storage pool xml 2013-05-17 08:33:22 +02:00
storagepoolxml2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
storagevolschematest schema: make source optional in volume XML 2013-05-17 08:35:08 +02:00
storagevolxml2argvtest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
storagevolxml2xmltest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
sysinfotest.c tests: sysinfotest: Actual/expected were swapped in error message. 2014-01-01 16:34:13 +00:00
test_conf.c viralloc: Report OOM error on failure 2013-07-10 11:07:31 +02:00
test_conf.sh rename tests/conftest.c 2013-03-19 13:13:28 -06:00
test-lib.sh test-lib: Make case skipping possible 2013-09-13 10:25:56 +02:00
testutils.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
testutils.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
testutilslxc.c virCaps: get rid of defaultConsoleTargetType callback 2013-04-04 22:42:39 +02:00
testutilslxc.h Don't leave empty first line in C source files 2014-03-18 12:17:12 +01:00
testutilsqemu.c util: Add one argument for several scsi utils 2014-01-30 15:48:28 +08:00
testutilsqemu.h build: skip qemu in tests when !WITH_QEMU 2013-05-31 11:35:34 -06:00
testutilsxen.c virCaps: get rid of defaultConsoleTargetType callback 2013-04-04 22:42:39 +02:00
testutilsxen.h Don't leave empty first line in C source files 2014-03-18 12:17:12 +01:00
utiltest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
vcpupin maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
viratomictest.c maint: fix comma style issues: tests, tools 2013-11-20 09:14:55 -07:00
virauthconfigtest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virbitmaptest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
virbuftest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
vircapstest.c Fix leaks in vircapstest 2014-02-12 14:41:47 +01:00
vircgroupmock.c Fix misspelled cpuacct.usage_percpu in cgroup mock. 2014-02-20 16:20:10 +01:00
vircgrouptest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
vircryptotest.c Add helper APIs for generating cryptographic hashes 2014-03-10 16:39:18 +00:00
virdbustest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virdrivermoduletest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virendiantest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
virfiletest.c Fix bug in identifying sub-mounts 2013-11-28 11:49:01 +00:00
virhashdata.h
virhashtest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virhostdevtest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
viridentitytest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virkeycodetest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virkeyfiletest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virkmodtest.c Add ability to register callback for virCommand dry run 2014-03-19 10:47:58 +00:00
virlockspacetest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virlogtest.c Fix flaw in detecting log format 2013-10-14 10:31:01 +01:00
virnetdevbandwidthtest.c Add ability to register callback for virCommand dry run 2014-03-19 10:47:58 +00:00
virnetmessagetest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virnetserverclientmock.c Add test case for virNetServerClient object identity code 2013-09-24 09:37:26 +01:00
virnetserverclienttest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
virnetsockettest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virnettlscontexttest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virnettlshelpers.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virnettlshelpers.h Fix parallel runs of TLS test suites 2013-08-09 11:54:41 +01:00
virnettlssessiontest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virpcimock.c tests: Fix PCI test data filenames for Windows 2014-01-25 12:53:11 +01:00
virpcitest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
virportallocatortest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virscsitest.c add 'driver' info to used_by 2014-03-04 12:24:13 +00:00
virsh-all tests: Skip virsh-all test as expensive 2013-08-12 18:47:56 +02:00
virsh-optparse virsh: Add keepalive in new vshConnect function 2014-03-18 08:27:29 +01:00
virsh-schedinfo Allow multiple parameters for schedinfo 2013-04-03 08:49:30 +02:00
virsh-synopsis maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
virsh-undefine build: avoid confusing make with raw name 'undefine' 2012-09-12 11:27:22 -06:00
virsh-uriprecedence tests: Don't test user config file if ran as root 2013-09-13 10:25:56 +02:00
virshtest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
virstoragetest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virstringtest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virsystemdmock.c Check if systemd is running before creating machines 2014-03-04 09:14:52 +01:00
virsystemdtest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virt-aa-helper-test add vnc unix sockets to apparmor policy 2012-12-11 14:32:39 -07:00
virtimetest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
viruritest.c Add virLogSource variables to all source files 2014-03-18 14:29:22 +00:00
virusbmock.c Add tests for virUSBDeviceFind functions 2014-03-03 14:35:22 +01:00
virusbtest.c Add a test for virUSBDeviceList functions 2014-03-03 14:35:22 +01:00
vmwarevertest.c Remove test case average timing 2013-10-08 12:39:30 +01:00
vmx2xmltest.c Add test for transient disk support in VMX files 2014-01-20 09:47:43 -07:00
xencapstest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
xmconfigtest.c Require spaces around equality comparisons 2014-03-18 11:29:44 +01:00
xml2sexprtest.c Don't leave empty first line in C source files 2014-03-18 12:17:12 +01:00
xml2vmxtest.c Exercise the ABI stability check code in test suite 2014-01-10 20:32:48 +00:00