libvirt/tests
Andrea Bolognani 44fb7659cc tests: Add more firmware tests
These cover various scenarios related to firmware formats,
specifically ensuring that all the ways in which the user can
ask for a non-default format to be used work correctly.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2023-03-03 13:52:37 +01:00
..
bhyveargv2xmldata
bhyvefirmwaredata
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata tests: add better QEMU capabilities example 2022-09-21 12:02:40 +01:00
chxml2xmlin test: Introduce chxml2xmltest 2023-02-14 13:59:45 +01:00
chxml2xmlout test: Introduce chxml2xmltest 2023-02-14 13:59:45 +01:00
commanddata commandtest: Test virCommandSetSendBuffer() with virCommandDoAsyncIO() 2022-12-01 14:22:39 +01:00
cputestdata cpu_map: Add missing x86 feature "vgif" 2022-11-08 21:45:02 +01:00
domainbackupxml2xmlin
domainbackupxml2xmlout
domaincapsdata cpu_s390: Implement getVendorForModel for IBM Z 2023-02-10 09:15:03 +01:00
domainconfdata
domainschemadata
fchostdata/fc_host
genericxml2xmlindata conf: Add support for specifying CPU max physical address size 2022-08-04 09:04:07 +02:00
genericxml2xmloutdata
interfaceschemadata
libxlxml2domconfigdata tests: Fix libxlxml2domconfigtest 2022-11-11 08:10:34 -07:00
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevmdevctldata
nodedevschemadata virNodeDeviceCapPCIDefFormat: Use %u for unsigned values 2022-11-01 13:07:20 +01:00
nodedevxml2xmlout nodedevschematest: Add example file for a HBA with 'vport_ops' capability 2022-09-01 13:11:09 +02:00
nssdata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemublocktestdata qemublocktest: Mark 'network-ssh-qcow2' input XML as invalid 2022-11-02 09:26:03 +01:00
qemucapabilitiesdata qemu: capabilities: Introduce QEMU_CAPS_NETDEV_STREAM_RECONNECT 2023-02-22 08:25:36 -05:00
qemucaps2xmloutdata
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout
qemudomainsnapshotxml2xmlin
qemudomainsnapshotxml2xmlout qemudomainsnapshotxml2xmltest: Add test case for a snapshot with 'inactiveDomain' element 2022-09-01 13:11:09 +02:00
qemufirmwaredata tests: Add descriptors for QCOW2 format firmware builds 2023-03-03 13:49:56 +01:00
qemuhotplugtestcpus
qemuhotplugtestdevices qemu: support CDROM hotplug cdrom with USB/SCSI bus 2022-07-20 16:53:51 +02:00
qemuhotplugtestdomains qemuhotplugtest: Switch to -blockdev mode 2022-08-11 15:22:14 +02:00
qemumemlockdata
qemumigparamsdata
qemumigrationcookiexmldata
qemumonitorjsondata qemu: block: Remove 'qemuBlockNodeNamesDetect' and related infrastructure 2022-08-11 15:13:55 +02:00
qemusecuritydata
qemustatusxml2xmldata qemustatusxml2xmltest: Add test data for testing '<origstates>' of PCI hostdev 2023-02-06 09:14:00 +01:00
qemuvhostuserdata
qemuxml2argvdata tests: Add more firmware tests 2023-03-03 13:52:37 +01:00
qemuxml2xmloutdata tests: Add more firmware tests 2023-03-03 13:52:37 +01:00
schemas virschematest: Add infrastructure for testing single devices 2022-11-03 09:19:54 +01:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata security_selinux.c: Relabel existing mode="bind" UNIX sockets 2022-07-01 14:51:19 +02:00
storagepoolcapsschemadata
storagepoolschemadata
storagepoolxml2argvdata storagepoolxml2argvtest: Fix output data for 'pool-netfs-protocol-ver' 2022-07-01 16:53:08 +02:00
storagepoolxml2xmlin tests: Remove storage pool/vol tests for sheepdog 2022-09-01 13:11:09 +02:00
storagepoolxml2xmlout tests: Remove storage pool/vol tests for sheepdog 2022-09-01 13:11:09 +02:00
storagevolschemadata
storagevolxml2argvdata
storagevolxml2xmlin tests: Remove storage pool/vol tests for sheepdog 2022-09-01 13:11:09 +02:00
storagevolxml2xmlout tests: Remove storage pool/vol tests for sheepdog 2022-09-01 13:11:09 +02:00
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata
vircgroupdata
virconfdata
virfilecachedata
virfiledata
virhostcpudata
virjsondata
virmacmaptestdata
virnetdaemondata rpc: Fix error message in virNetServerSetClientLimits 2023-01-02 20:39:09 +01:00
virnetdevopenvswitchdata
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata
virnwfilterbindingxml2xmldata
virpcitestdata
virprocessstatdata
virresctrldata
virscsidata
virstoragetestdata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
xlconfigdata
xmconfigdata
xml2vmxdata Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
.valgrind.supp
bhyveargv2xmlmock.c
bhyveargv2xmltest.c conf: extend xmlopt with job config & add job object into domain object 2022-09-07 12:06:18 +02:00
bhyvexml2argvmock.c maint: fix "mixing declarations and code" errors 2022-11-09 18:22:47 +01:00
bhyvexml2argvtest.c
bhyvexml2xmltest.c
chxml2xmltest.c test: Introduce chxml2xmltest 2023-02-14 13:59:45 +01:00
commandhelper.c
commandtest.c commandtest: Comply with FreeBSD poll() 2022-12-01 17:24:31 +01:00
cputest.c qemuMonitorJSONGetCPUModelExpansion: Introduce @hv_passthrough argument 2023-01-05 12:35:33 +01:00
domaincapsmock.c tests: Mock virQEMUCapsProbeHVF() 2022-08-10 17:49:52 +02:00
domaincapstest.c tests: add QEMU RISC-V "virt" machine in domaincapstest 2023-01-24 13:24:41 -03:00
domainconftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
esxutilstest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
eventtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
fchosttest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
fdstreamtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
genericxml2xmltest.c conf: Add support for specifying CPU max physical address size 2022-08-04 09:04:07 +02:00
interfacexml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
libvirtd-fail
libvirtd-pool
libxlmock.c tests: Fix libxlxml2domconfigtest 2022-11-11 08:10:34 -07:00
libxlxml2domconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
lxcconf2xmltest.c
lxcxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
meson.build test: Introduce chxml2xmltest 2023-02-14 13:59:45 +01:00
metadatatest.c
networkxml2conftest.c maint: fix "mixing declarations and code" errors 2022-11-09 18:22:47 +01:00
networkxml2firewalltest.c conf: network: Provide only virNetworkDefParse 2022-10-06 10:54:25 +02:00
networkxml2xmltest.c conf: network: Provide only virNetworkDefParse 2022-10-06 10:54:25 +02:00
networkxml2xmlupdatetest.c conf: network: Provide only virNetworkDefParse 2022-10-06 10:54:25 +02:00
nodedevmdevctltest.c conf: node_device: Add 'validate' argument to virNodeDeviceDefParse 2022-11-01 13:07:20 +01:00
nodedevxml2xmltest.c conf: node_device: Add 'validate' argument to virNodeDeviceDefParse 2022-11-01 13:07:20 +01:00
nsslinktest.c
nssmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nsstest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nwfilterebiptablestest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
nwfilterxml2firewalltest.c conf: nwfilter: Provide only virNWFilterDefParse 2022-10-06 10:54:25 +02:00
nwfilterxml2xmltest.c src/tests: use g_autoptr for virNWFilterDef and virNWFilterRuleDef 2023-01-20 22:09:34 +01:00
objecteventtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
openvzutilstest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
openvzutilstest.conf
permitted_file_access.txt
pkix_asn1_tab.c
qemuagenttest.c tests: Make qemuAgent single sync 2022-11-08 12:10:50 +01:00
qemublocktest.c qemublocktest: Mark 'network-ssh-qcow2' input XML as invalid 2022-11-02 09:26:03 +01:00
qemucapabilitiesnumbering.c
qemucapabilitiestest.c tests: Use domaincapsmock in qemucapabilitiestest 2022-08-10 17:49:30 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c
qemucapsprobe.c
qemucapsprobemock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemucommandutiltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemucpumock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemudomaincheckpointxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemudomainsnapshotxml2xmltest.c qemudomainsnapshotxml2xmltest: Add test case for a snapshot with 'inactiveDomain' element 2022-09-01 13:11:09 +02:00
qemufirmwaretest.c tests: Add descriptors for QCOW2 format firmware builds 2023-03-03 13:49:56 +01:00
qemuhotplugmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemuhotplugtest.c conf: Use proper type for 'type' field of struct _virDomainDeviceDef 2023-02-06 13:34:29 +01:00
qemumemlocktest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemumigparamstest.c qemu_migration: Apply max-postcopy-bandwidth on post-copy resume 2022-07-01 11:28:34 +02:00
qemumigrationcookiexmltest.c qemu: Replace priv with qemuCaps in qemuMigrationCookieParse 2022-12-01 11:01:58 +01:00
qemumonitorjsontest.c qemu_monitor_json: allow configuring autofinalize for block commit 2023-01-09 13:32:44 +01:00
qemumonitortestutils.c qemumonitortestutils: Fix line counting in qemuMonitorTestProcessFileEntries() 2022-12-23 14:48:31 +01:00
qemumonitortestutils.h tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemusecuritymock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemusecuritytest.c tests: Rename and reorganize firmware tests 2022-07-01 15:10:10 +02:00
qemusecuritytest.h
qemustatusxml2xmltest.c util: remove virObjectUnref() adapters 2022-07-15 16:44:39 -05:00
qemuvhostusertest.c
qemuxml2argvmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemuxml2argvtest.c tests: Add more firmware tests 2023-03-03 13:52:37 +01:00
qemuxml2xmltest.c tests: Add more firmware tests 2023-03-03 13:52:37 +01:00
scsihosttest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
seclabeltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
secretxml2xmltest.c conf: secret: Provide only virSecretDefParse 2022-10-06 10:54:24 +02:00
securityselinuxhelper.c meson: remove obsolete check for linux/magic.h 2022-12-12 10:36:13 +00:00
securityselinuxlabeltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
securityselinuxtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
shunloadhelper.c
shunloadtest.c
sockettest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
ssh.c
storagepoolcapstest.c
storagepoolxml2argvtest.c conf: storage: Provide only virStoragePoolDefParse 2022-10-06 10:54:24 +02:00
storagepoolxml2xmltest.c conf: storage: Provide only virStoragePoolDefParse 2022-10-06 10:54:24 +02:00
storagevolxml2argvtest.c conf: storage: Provide only virStorageVolDefParse 2022-10-06 10:54:24 +02:00
storagevolxml2xmltest.c conf: storage: Provide only virStorageVolDefParse 2022-10-06 10:54:24 +02:00
sysinfotest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
test-lib.sh
testutils.c conf: extend xmlopt with job config & add job object into domain object 2022-09-07 12:06:18 +02:00
testutils.h tests: Remove unused includes 2022-06-16 06:43:58 +02:00
testutilshostcpus.h tests: add QEMU RISC-V "virt" machine in domaincapstest 2023-01-24 13:24:41 -03:00
testutilslxc.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
testutilslxc.h tests: Remove unused includes 2022-06-16 06:43:58 +02:00
testutilsqemu.c qemuxml2argvtest: Add support for populating 'fds' in private data 2023-01-09 14:59:42 +01:00
testutilsqemu.h qemuxml2argvtest: Add support for populating 'fds' in private data 2023-01-09 14:59:42 +01:00
testutilsqemuschema.c virjson: Change virJSONValueObjectHasKey() signature 2022-08-01 10:24:34 +02:00
testutilsqemuschema.h
testutilsxen.c
testutilsxen.h
utiltest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
vboxsnapshotxmltest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
viralloctest.c
virauthconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virbitmaptest.c
virbuftest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
vircaps2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vircapstest.c
vircgroupmock.c vircgroupmock: fix cgroup v1 mocking 2022-10-19 16:32:14 +02:00
vircgrouptest.c vircgroup: rework virCgroupNewSelf 2022-10-19 16:32:30 +02:00
virconftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vircryptotest.c
virdnsmasqmock.c
virdriverconnvalidatetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virdrivermoduletest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virendiantest.c
virerrortest.c
virfilecachemock.c
virfilecachetest.c
virfilemock.c meson: remove obsolete check for linux/magic.h 2022-12-12 10:36:13 +00:00
virfiletest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virfilewrapper.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virfilewrapper.h
virfirewallmock.c
virfirewalltest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
virgdbusmock.c virgdbusmock: Mock g_dbus_connection_call_with_unix_fd_list_sync() only on UNIX-like systems 2022-09-30 15:38:47 +02:00
virhostcpumock.c
virhostcputest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virhostdevmock.c
virhostdevtest.c virhostdevtest: Decrease possibility of uninitialized @subsys 2023-02-06 16:33:26 +01:00
virhostidmock.c
viridentitytest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
viriscsitest.c
virjsontest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
virkeycodetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virkmodtest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
virlockspacetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virlogtest.c
virmacmaptest.c
virmigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virmock.h
virmockstathelpers.c virmockstathelpers: Load aliases for 64-bit time 2022-11-21 15:49:36 +01:00
virnetdaemonmock.c
virnetdaemontest.c rpc: Fix error message in virNetServerSetClientLimits 2023-01-02 20:39:09 +01:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
virnetdevmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetdevopenvswitchtest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
virnetdevtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetmessagetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
virnettlscontexttest.c tests: Drop needless virrandom mock from two tests 2022-11-21 15:36:08 +01:00
virnettlshelpers.c
virnettlshelpers.h
virnettlssessiontest.c tests: Drop needless virrandom mock from two tests 2022-11-21 15:36:08 +01:00
virnetworkportxml2xmltest.c conf: networkportdef: Provide only virNetworkPortDefParse 2022-10-06 10:54:24 +02:00
virnumamock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnwfilterbindingxml2xmltest.c conf: nwfilterbinding: Provide only virNWFilterBindingDefParse 2022-10-06 10:54:24 +02:00
virpcimock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virpcitest.c
virpcivpdtest.c
virpolkittest.c
virportallocatormock.c
virportallocatortest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virprocessmock.c
virprocessstattest.c
virrandommock.c virnettlscontext: Don't set DH parameters ourselves 2022-07-01 13:04:59 +02:00
virresctrltest.c
virrotatingfiletest.c
virschematest.c virschematest: Add infrastructure for testing single devices 2022-11-03 09:19:54 +01:00
virscsitest.c
virsh-auth
virsh-auth.xml
virsh-checkpoint
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow
virsh-optparse
virsh-output
virsh-output-commands
virsh-output.out
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
virsh-self-test
virsh-snapshot virsh: Add message to terminal when running snapshot-revert 2022-12-07 14:33:28 +01:00
virsh-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
virstoragetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virstorageutiltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virstringtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virsystemdtest.c
virt-aa-helper-test
virt-admin-self-test
virtestmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virtimetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virtypedparamtest.c
viruritest.c Drop checks for virURIFormat() retval 2023-02-08 16:50:45 +01:00
virusbmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virusbtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vmwarevertest.c
vmx2xmltest.c Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
vshtabletest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
xlconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
xmconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
xml2vmxtest.c Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00