libvirt/tests
Daniel P. Berrangé cf92b90e35 tests: fix TLS handshake failure with TLS 1.3
When gnutls negotiates TLS 1.3 instead of 1.2, the order of messages
sent by the handshake changes. This exposed a logic bug in the test
suite which caused us to wait for the server to see handshake
completion, but not wait for the client to see completion. The result
was the client didn't receive the certificate for verification and the
test failed.

This is exposed in Fedora 29 rawhide which has just enabled TLS 1.3 in
its GNUTLS builds.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-07-23 11:36:09 +01:00
..
bhyveargv2xmldata bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
bhyvexml2argvdata bhyve: tests: Add missing data files 2018-06-08 21:53:36 +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
domaincapsschemadata conf: Introduce new video type 'none' 2018-07-18 18:23:51 +02:00
domainconfdata
domainschemadata
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
fchostdata/fc_host
genericxml2xmlindata conf: prefer camelCase for launchSecurity 2018-06-13 14:42:17 +02:00
genericxml2xmloutdata
interfaceschemadata
libxlxml2domconfigdata
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout
networkxml2xmlupdatein
networkxml2xmlupdateout network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
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 qemu: block: Add support for RBD authentication for blockdev 2018-07-10 13:37:51 +02:00
qemucapabilitiesdata qemu: caps: Add vfio-pci.display capability 2018-07-18 18:16:07 +02:00
qemucaps2xmldata capabilities: Extend capabilities with iommu_support 2018-06-05 08:33:13 +02:00
qemuhotplugtestcpus
qemuhotplugtestdevices
qemuhotplugtestdomains
qemumemlockdata
qemumigparamsdata Switch from yajl to Jansson 2018-07-18 17:54:18 +02:00
qemumonitorjsondata
qemustatusxml2xmldata qemu: domain: Regenerate alias for the TLS x509 credential object 2018-06-05 08:13:57 +02:00
qemuxml2argvdata conf: Introduce new video type 'none' 2018-07-18 18:23:51 +02:00
qemuxml2startupxmloutdata
qemuxml2xmloutdata conf: Introduce new video type 'none' 2018-07-18 18:23:51 +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 storage: Add support for using inputvol for encryption 2018-06-26 14:02:43 -04:00
storagevolxml2xmlin storage: Add support for using inputvol for encryption 2018-06-26 14:02:43 -04:00
storagevolxml2xmlout storage: Disallow create/resize of qcow2 encrypted images 2018-06-26 14:02:43 -04:00
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata capabilities: Extend capabilities with iommu_support 2018-06-05 08:33:13 +02:00
vircgroupdata
virconfdata
virfilecachedata
virfiledata
virhostcpudata
virjsondata
virmacmaptestdata Switch from yajl to Jansson 2018-07-18 17:54:18 +02:00
virnetdaemondata
virnetdevtestdata/sys/class/net
virnwfilterbindingxml2xmldata conf: add support for parsing/formatting virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
virpcitestdata
virresctrldata
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata
xlconfigdata
xmconfigdata tests: xmconfigtest: add tests for cmdline formating 2018-06-04 20:59:16 -06:00
xml2sexprdata
xml2vmxdata
.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 CPU topology support 2018-06-07 19:26:26 +04:00
bhyvexml2xmltest.c bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
check-file-access.pl
commandhelper.c
commandtest.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
cputest.c Switch from yajl to Jansson 2018-07-18 17:54:18 +02:00
domaincapsmock.c
domaincapstest.c
domainconftest.c
domainsnapshotxml2xmltest.c
esxutilstest.c
eventtest.c
fchosttest.c
fdstreamtest.c
file_access_whitelist.txt
genericxml2xmltest.c conf: Introduce launch-security element in domain 2018-06-12 10:00:49 +02:00
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 Switch from yajl to Jansson 2018-07-18 17:54:18 +02:00
lxcconf2xmltest.c
lxcxml2xmltest.c
Makefile.am Switch from yajl to Jansson 2018-07-18 17:54:18 +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 Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c Switch from yajl to Jansson 2018-07-18 17:54:18 +02:00
qemuargv2xmltest.c
qemublocktest.c m4: Introduce STABLE_ORDERING_JANSSON 2018-07-18 17:54:18 +02:00
qemucapabilitiestest.c m4: Introduce STABLE_ORDERING_JANSSON 2018-07-18 17:54:18 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c Switch from yajl to Jansson 2018-07-18 17:54:18 +02:00
qemucapsfixreplies tests: Fix qemucapsfixreplies 2018-06-19 14:01:14 +02:00
qemucapsprobe.c
qemucapsprobemock.c tests: qemucapsprobemock: Prepare 'qemucapsprobe' for the new format 2018-06-12 10:27:50 +02:00
qemucommandutiltest.c m4: Introduce STABLE_ORDERING_JANSSON 2018-07-18 17:54:18 +02:00
qemucpumock.c
qemuhotplugtest.c m4: Introduce STABLE_ORDERING_JANSSON 2018-07-18 17:54:18 +02:00
qemumemlocktest.c
qemumigparamstest.c m4: Introduce STABLE_ORDERING_JANSSON 2018-07-18 17:54:18 +02:00
qemumonitorjsontest.c m4: Introduce STABLE_ORDERING_JANSSON 2018-07-18 17:54:18 +02:00
qemumonitortestutils.c tests: qemumonitorutils: Don't crash on wrong monitor command 2018-07-13 14:15:59 +02:00
qemumonitortestutils.h
qemuxml2argvmock.c qemu: support passing pre-opened UNIX socket listen FD 2018-06-05 17:30:28 +01:00
qemuxml2argvtest.c conf: Introduce new video type 'none' 2018-07-18 18:23:51 +02:00
qemuxml2xmltest.c conf: Introduce new video type 'none' 2018-07-18 18:23:51 +02:00
scsihosttest.c
seclabeltest.c
secretxml2xmltest.c
securityselinuxhelper.c
securityselinuxlabeltest.c
securityselinuxtest.c
sexpr2xmltest.c
shunloadhelper.c
shunloadtest.c
sockettest.c
ssh.c
storagebackendsheepdogtest.c
storagepoolxml2xmltest.c
storagevolxml2argvtest.c storage: Add support for using inputvol for encryption 2018-06-26 14:02:43 -04:00
storagevolxml2xmltest.c storage: Disallow create/resize of qcow2 encrypted images 2018-06-26 14:02:43 -04:00
sysinfotest.c
test-lib.sh
test-wrap-argv.pl
testutils.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
testutils.h
testutilshostcpus.h
testutilslxc.c
testutilslxc.h Don't leave empty first line in C source files 2014-03-18 12:17:12 +01:00
testutilsqemu.c
testutilsqemu.h
testutilsqemuschema.c tests: qemuschema: Add line break to debug message 2018-07-13 14:15:59 +02:00
testutilsqemuschema.h tests: qemu: Use qmp schema data from the qemucapabilities test 2018-07-10 13:37:50 +02:00
testutilsxen.c
testutilsxen.h
utiltest.c
vboxsnapshotxmltest.c
viralloctest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
viratomictest.c
virauthconfigtest.c
virbitmaptest.c
virbuftest.c
vircaps2xmltest.c
vircapstest.c
vircgroupmock.c tests: Fix mode_t usage with va_arg() 2018-05-03 18:23:30 +02:00
vircgrouptest.c
virconftest.c
vircryptotest.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +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 src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virfiletest.c
virfilewrapper.c
virfilewrapper.h
virfirewalltest.c
virhashdata.h Rename hash.h and hash.c to virhash.h and virhash.c 2012-01-26 14:11:13 +00:00
virhashtest.c
virhostcpumock.c
virhostcputest.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
virhostdevtest.c
viridentitytest.c
viriscsitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virjsontest.c m4: Introduce STABLE_ORDERING_JANSSON 2018-07-18 17:54:18 +02:00
virkeycodetest.c
virkeyfiletest.c
virkmodtest.c
virlockspacetest.c
virlogtest.c
virmacmaptest.c m4: Introduce STABLE_ORDERING_JANSSON 2018-07-18 17:54:18 +02:00
virmock.h
virmocklibxl.c Switch from yajl to Jansson 2018-07-18 17:54:18 +02:00
virnetdaemonmock.c
virnetdaemontest.c m4: Introduce STABLE_ORDERING_JANSSON 2018-07-18 17:54:18 +02:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c
virnetdevmock.c
virnetdevtest.c
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virnetsockettest.c
virnettlscontexttest.c
virnettlshelpers.c
virnettlshelpers.h
virnettlssessiontest.c tests: fix TLS handshake failure with TLS 1.3 2018-07-23 11:36:09 +01:00
virnumamock.c
virnwfilterbindingxml2xmltest.c conf: add support for parsing/formatting virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01: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 src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virresctrltest.c
virrotatingfiletest.c
virschematest.c schemas: add schema for nwfilter binding XML document 2018-06-26 11:22:07 +01: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 Switch from yajl to Jansson 2018-07-18 17:54:18 +02:00
virstorageutiltest.c
virstringtest.c
virsystemdtest.c
virt-aa-helper-test virt-aa-helper: test: check for expected profile content 2018-03-23 07:14:58 +01:00
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
xml2vmxtest.c