libvirt/tests
Michal Privoznik 29592788f1 virRandomBytes: Fix return value
In libvirt when a function wants to return an error code it
should be a negative value. Returning a positive value (or zero)
means success. But virRandomBytes() does not follow this rule.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2018-06-05 10:31:19 +02:00
..
bhyveargv2xmldata bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
bhyvexml2argvdata bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
bhyvexml2xmloutdata bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
capabilityschemadata schema: Fix capability grammar for pagesElem 2018-05-25 09:36:42 -04:00
commanddata
cputestdata cputest: New test for Intel Core i5-650 2018-04-18 11:39:53 +02:00
domaincapsschemadata domcaps: Add 'genid' to domain capabilities 2018-05-25 08:15:58 -04:00
domainconfdata
domainschemadata
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
fchostdata/fc_host
genericxml2xmlindata
genericxml2xmloutdata
interfaceschemadata
libxlxml2domconfigdata tests: check CPU features handling in libxl driver 2018-04-17 21:15:27 -06:00
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata schema: Add missing block data for nodedev 2018-05-25 09:36:42 -04:00
nssdata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemuargv2xmldata conf: introduce virDomainDefBootOrderPostParse 2018-05-29 10:22:08 +02:00
qemublocktestdata/xml2json tests: qemublock: Test NBD with TLS in the JSON generator 2018-06-05 08:14:00 +02:00
qemucapabilitiesdata Introduce QEMU_CAPS_DEVICE_VHOST_VSOCK 2018-05-29 15:42:03 +02:00
qemucaps2xmldata capabilities: Extend capabilities with iommu_support 2018-06-05 08:33:13 +02:00
qemuhotplugtestcpus
qemuhotplugtestdevices
qemuhotplugtestdomains
qemumemlockdata
qemumigparamsdata qemumigparamstest: Add test data for TLS parameters 2018-04-17 10:46:23 +02:00
qemumonitorjsondata tests: add testcase for s390 query-cpus-fast 2018-04-17 12:45:26 -04:00
qemustatusxml2xmldata qemu: domain: Regenerate alias for the TLS x509 credential object 2018-06-05 08:13:57 +02:00
qemuxml2argvdata qemu: Split handling of managed and unmanaged persistent reservations 2018-06-05 08:14:00 +02:00
qemuxml2startupxmloutdata qemu: domain: Move initialization of disk cachemode for <shareable> disks 2018-04-03 15:48:38 +02:00
qemuxml2xmloutdata qemu: domain: Add support for TLS for NBD 2018-06-05 08:14:00 +02:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata conf: introduce virDomainDefBootOrderPostParse 2018-05-29 10:22:08 +02:00
storagepoolschemadata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata schema: Add physical sizing element for storagevol grammar 2018-05-25 09:32:37 -04:00
storagevolxml2argvdata tests: assume FMT_COMPAT for qemu-img tests 2018-05-07 10:21:59 +02:00
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata capabilities: Extend capabilities with iommu_support 2018-06-05 08:33:13 +02:00
vircgroupdata
virconfdata
virfilecachedata
virfiledata
virhostcpudata
virjsondata
virmacmaptestdata
virnetdaemondata
virnetdevtestdata/sys/class/net
virpcitestdata
virresctrldata
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata vmx: convert cpuid.coresPerSocket for CPU topology 2018-04-20 09:09:29 +02:00
xlconfigdata tests: add test case for CPUID in xenconfig driver 2018-04-17 21:15:27 -06:00
xmconfigdata tests: xmconfigtest: add tests for cmdline formating 2018-06-04 20:59:16 -06:00
xml2sexprdata tests: move xml2sexpr tests to WITH_LIBXL 2018-04-09 11:33:30 -06:00
xml2vmxdata vmx: write cpuid.coresPerSocket back from CPU topology 2018-04-20 09:11:01 +02:00
.valgrind.supp
bhyveargv2xmlmock.c
bhyveargv2xmltest.c bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
bhyvexml2argvmock.c
bhyvexml2argvtest.c bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
bhyvexml2xmltest.c bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
check-file-access.pl
commandhelper.c tests: Return failure if log not fopen'd 2018-04-19 14:24:12 -04:00
commandtest.c
cputest.c cpu: Add optional list of allowed features to virCPUBaseline 2018-05-28 15:59:11 +02:00
domaincapsmock.c
domaincapstest.c
domainconftest.c
domainsnapshotxml2xmltest.c
esxutilstest.c
eventtest.c
fchosttest.c
fdstreamtest.c
file_access_whitelist.txt
genericxml2xmltest.c
group-qemu-caps.pl syntax-check: pass srcdir to group-qemu-caps.pl 2018-04-26 13:39:10 +02:00
interfacexml2xmltest.c
libvirtd-fail
libvirtd-pool
libxlxml2domconfigtest.c tests: unlink libxl-driver.log 2018-05-03 14:26:08 +01:00
lxcconf2xmltest.c
lxcxml2xmltest.c
Makefile.am tests: Drop qemumonitortest 2018-05-23 15:43:34 +02:00
metadatatest.c tests: initialize some variables 2018-05-30 15:54:58 +02:00
networkxml2conftest.c
networkxml2firewalltest.c
networkxml2xmltest.c
networkxml2xmlupdatetest.c
nodedevxml2xmltest.c schema: Add missing block data for nodedev 2018-05-25 09:36:42 -04:00
nsslinktest.c
nssmock.c tests: Fix mode_t usage with va_arg() 2018-05-03 18:23:30 +02:00
nsstest.c
nwfilterebiptablestest.c
nwfilterxml2firewalltest.c nwfilter: remove virNWFilterHashTable typedefs entirely 2018-05-03 17:00:57 +01:00
nwfilterxml2xmltest.c
objecteventtest.c tests: initialize some variables 2018-05-30 15:54:58 +02:00
objectlocking.ml
oomtrace.pl
openvzutilstest.c
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c tests: replace references to yajl 2018-05-11 13:28:35 +02:00
qemuargv2xmltest.c
qemublocktest.c tests: qemublock: Test NBD with TLS in the JSON generator 2018-06-05 08:14:00 +02:00
qemucapabilitiestest.c tests: replace references to yajl 2018-05-11 13:28:35 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c tests: replace references to yajl 2018-05-11 13:28:35 +02:00
qemucapsfixreplies
qemucapsprobe.c Force QMP capability probing 2018-04-10 15:16:23 +02:00
qemucapsprobemock.c
qemucommandutiltest.c tests: replace references to yajl 2018-05-11 13:28:35 +02:00
qemucpumock.c
qemuhotplugtest.c qemu_hotplug: Allow asynchronous detach 2018-05-28 13:08:52 +02:00
qemumemlocktest.c
qemumigparamstest.c tests: replace references to yajl 2018-05-11 13:28:35 +02:00
qemumonitorjsontest.c qemu: Remove code for setting up disk passphrases 2018-06-05 08:14:00 +02:00
qemumonitortestutils.c tests: add qemumonitorjson tests for query-cpus-fast 2018-04-17 12:45:26 -04:00
qemumonitortestutils.h tests: add qemumonitorjson tests for query-cpus-fast 2018-04-17 12:45:26 -04:00
qemuqapischema.json
qemuxml2argvmock.c tests: Extend NUMA mocking 2018-05-03 18:23:30 +02:00
qemuxml2argvtest.c qemu: domain: Add support for TLS for NBD 2018-06-05 08:14:00 +02:00
qemuxml2xmltest.c qemu: domain: Forbid storage with old QCOW2 encryption 2018-06-05 08:14:00 +02:00
scsihosttest.c
seclabeltest.c
secretxml2xmltest.c
securityselinuxhelper.c
securityselinuxlabeltest.c
securityselinuxtest.c
sexpr2xmltest.c tests: move sexpr2xml tests to WITH_LIBXL 2018-04-09 11:34:35 -06:00
shunloadhelper.c
shunloadtest.c
sockettest.c
ssh.c
storagebackendsheepdogtest.c
storagepoolxml2xmltest.c
storagevolxml2argvtest.c storage: remove qemu-img help scraping 2018-05-07 10:23:20 +02:00
storagevolxml2xmltest.c
sysinfotest.c
test-lib.sh
test-wrap-argv.pl
testutils.c tests: Create full host NUMA topology in more cases 2018-04-19 17:57:52 +02:00
testutils.h tests: Create full host NUMA topology in more cases 2018-04-19 17:57:52 +02:00
testutilshostcpus.h
testutilslxc.c
testutilslxc.h
testutilsqemu.c tests: Create full host NUMA topology in more cases 2018-04-19 17:57:52 +02:00
testutilsqemu.h tests: qemu: Add helper code to lookup latest capability file 2018-04-19 11:20:34 +02:00
testutilsqemuschema.c util: Clean up consumers of virJSONValueArraySize 2018-05-10 14:59:15 -04:00
testutilsqemuschema.h
testutilsxen.c Remove xencaps tests and data files 2018-04-09 11:37:15 -06:00
testutilsxen.h Remove xencaps tests and data files 2018-04-09 11:37:15 -06:00
utiltest.c
vboxsnapshotxmltest.c
viralloctest.c
viratomictest.c
virauthconfigtest.c
virbitmaptest.c
virbuftest.c
vircaps2xmltest.c
vircapstest.c tests: Create full host NUMA topology in more cases 2018-04-19 17:57:52 +02:00
vircgroupmock.c tests: Fix mode_t usage with va_arg() 2018-05-03 18:23:30 +02:00
vircgrouptest.c
virconftest.c virconf: properly set the end of content 2017-11-09 08:04:26 -07:00
vircryptotest.c virRandomBytes: Fix return value 2018-06-05 10:31:19 +02:00
virdbusmock.c
virdbustest.c
virdeterministichashmock.c
virdrivermoduletest.c driver: add option to make missing drivers a fatal problem 2018-04-24 17:01:48 +01:00
virendiantest.c
virfilecachemock.c
virfilecachetest.c Skip vircryptotest and virfilecachetest without gnutls 2018-05-16 10:40:40 +02:00
virfiletest.c
virfilewrapper.c
virfilewrapper.h
virfirewalltest.c
virhashdata.h
virhashtest.c util: don't check for parallel iteration in hash-related functions 2018-04-11 11:18:37 +02:00
virhostcpumock.c
virhostcputest.c
virhostdevtest.c
viridentitytest.c
viriscsitest.c
virjsontest.c virjsontest: Use a more stable floating point number for testing 2018-04-04 15:08:32 +02:00
virkeycodetest.c
virkeyfiletest.c
virkmodtest.c
virlockspacetest.c
virlogtest.c
virmacmaptest.c
virmock.h
virmocklibxl.c virmocklibxl.c: Fix include of virfile.h 2018-04-18 09:59:52 +02:00
virnetdaemonmock.c
virnetdaemontest.c
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c
virnetdevmock.c
virnetdevtest.c
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c tests: Fix incorrect check for virNetServerClientClose call 2018-04-19 15:03:57 -04:00
virnetsockettest.c
virnettlscontexttest.c
virnettlshelpers.c
virnettlshelpers.h
virnettlssessiontest.c
virnumamock.c virNumaGetHugePageInfo: Return page_avail and page_free as ULL 2018-04-24 11:02:28 +02:00
virpcimock.c tests: Build virpcimock on FreeBSD too 2018-05-03 18:23:30 +02:00
virpcitest.c
virpolkittest.c
virportallocatormock.c
virportallocatortest.c
virrandommock.c
virresctrltest.c
virrotatingfiletest.c
virschematest.c Remove xencaps tests and data files 2018-04-09 11:37:15 -06:00
virscsitest.c
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow
virsh-optparse
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
virsh-self-test
virsh-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c
virstoragetest.c all: Use virFileCanonicalizePath() instead of canonicalize_file_name() 2018-05-03 18:23:30 +02:00
virstorageutiltest.c
virstringtest.c
virsystemdtest.c
virt-aa-helper-test
virt-admin-self-test
virtestmock.c tests: Fix mode_t usage with va_arg() 2018-05-03 18:23:30 +02:00
virtimetest.c
virtypedparamtest.c
viruritest.c
virusbmock.c
virusbtest.c
vmwarevertest.c
vmx2xmltest.c schema,tests: Use vpxmigr for host migrate transport capability 2018-05-25 09:33:39 -04:00
xlconfigtest.c xenconfig: remove my name and email from files 2018-05-08 13:45:51 +01:00
xmconfigtest.c tests: xmconfigtest: add tests for cmdline formating 2018-06-04 20:59:16 -06:00
xml2sexprtest.c tests: move xml2sexpr tests to WITH_LIBXL 2018-04-09 11:33:30 -06:00
xml2vmxtest.c vmx: write cpuid.coresPerSocket back from CPU topology 2018-04-20 09:11:01 +02:00