libvirt/tests
Michal Privoznik 7db8373e08 Use G_N_ELEMENTS() more
In a few places we still use the good old:

  sizeof(var) / sizeof(var[0])
  sizeof(var) / sizeof(int)

The G_N_ELEMENTS() macro is preferred though. In a few places we
don't link with glib, so provide the macro definition.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
2023-03-13 13:29:07 +01:00
..
bhyveargv2xmldata bhyve: parse: Set video device model when parsing bhyve commandline 2020-10-19 11:50:49 +02:00
bhyvefirmwaredata bhyve: add <os firmware='efi'> support 2021-03-20 07:53:45 +04:00
bhyvexml2argvdata bhyvexml2argvtest: use virCommandToStringFull to strip command path 2021-04-21 14:20:03 +02:00
bhyvexml2xmloutdata bhyve: auto allocate nmdm console paths 2021-02-08 18:50:47 +04:00
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 backup: Allow configuring incremental backup per-disk individually 2020-07-08 08:40:30 +02:00
domainbackupxml2xmlout backup: Allow configuring incremental backup per-disk individually 2020-07-08 08:40:30 +02:00
domaincapsdata tests: qemu: Add 'ppc' machine caps based on 'qemu-system-ppc' on fedora 2023-03-06 20:55:50 +01:00
domainconfdata domainconfdata/getfilesystem.xml: Remove <init> element 2020-10-20 09:05:10 +02:00
domainschemadata tests: qemu: Move testing of default cache and disk source with space to 'sata-device' 2023-03-06 20:55:49 +01:00
fchostdata/fc_host nodedev: Fabric name must not be required for fc_host capability 2017-01-18 06:31:54 -05:00
genericxml2xmlindata conf: Add support for specifying CPU max physical address size 2022-08-04 09:04:07 +02:00
genericxml2xmloutdata genericxml2xmltest: Modify cachetune test to include id 2021-07-20 16:43:46 +02:00
interfaceschemadata interface: allow multiple IPv4 addresses + dhcp on a single interface 2015-05-22 10:14:01 -04:00
libxlxml2domconfigdata libxl: Support specifying a custom firmware path 2023-03-10 11:01:42 -07:00
lxcconf2xmldata lxc: Fix wrong addresses statements for IPv{4, 6} in native network definitions 2020-02-06 15:00:57 +01:00
lxcxml2xmldata lxc: add possibility to define init uid/gid 2017-07-11 10:41:24 +02:00
lxcxml2xmloutdata Allow root directory in filesystem source dir schema 2013-11-07 18:43:15 +01:00
networkxml2confdata network: Generate TFTP config regardless of DHCP 2022-06-01 09:40:40 +02:00
networkxml2firewalldata util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
networkxml2xmlin network: Generate TFTP config regardless of DHCP 2022-06-01 09:40:40 +02:00
networkxml2xmlout network: Generate TFTP config regardless of DHCP 2022-06-01 09:40:40 +02:00
networkxml2xmlupdatein network: validate DHCP ranges are completely within defined network 2015-06-02 12:40:07 -04:00
networkxml2xmlupdateout network: Allow adding DNS entries sharing hostname for multiple addreses 2021-07-16 14:50:57 +02:00
nodedevmdevctldata nodedev: add parent_addr to mdev nodedev dumpxml 2022-02-04 17:50:57 +01:00
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 nss: handle leases with infinite expiry time 2021-01-04 15:33:31 +01:00
nwfilterxml2firewalldata nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
nwfilterxml2xmlin tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
nwfilterxml2xmlout tests: Update IPv4-in-IPv6 addresses 2022-03-04 15:08:59 +01:00
qemuagentdata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemublocktestdata qemublocktest: Mark 'network-ssh-qcow2' input XML as invalid 2022-11-02 09:26:03 +01:00
qemucapabilitiesdata qemu: Add capability for virtio-gpu.blob 2023-03-08 13:05:05 -06:00
qemucaps2xmloutdata tests: qemu: Add 'ppc' machine caps based on 'qemu-system-ppc' on fedora 2023-03-06 20:55:50 +01:00
qemudomaincheckpointxml2xmlin backup: Document new XML for checkpoints 2019-07-26 16:48:58 -05:00
qemudomaincheckpointxml2xmlout qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemudomainsnapshotxml2xmlin conf: snapshot: Add support for <metadata_cache> 2021-01-08 15:27:00 +01:00
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 qemuhotplugtest: Remove tests for legacy cpu hotplug on x86 2021-11-01 16:14:53 +01:00
qemuhotplugtestdevices tests: Drop more QEMU driver config overrides 2023-03-06 14:44:13 +01:00
qemuhotplugtestdomains tests: Drop more QEMU driver config overrides 2023-03-06 14:44:13 +01:00
qemumemlockdata tests: Update qemumemlock data 2017-07-15 14:50:42 +02:00
qemumigparamsdata qemumigparamstest: Drop "unsupported" test case 2021-10-22 07:00:44 +02:00
qemumigrationcookiexmldata qemu: migration: Don't transfer 'allowReboot' flag 2021-08-25 15:32:44 +02:00
qemumonitorjsondata qemu: block: Remove 'qemuBlockNodeNamesDetect' and related infrastructure 2022-08-11 15:13:55 +02:00
qemusecuritydata qemusecuritytest: Test SELinux too 2020-11-06 09:14:01 +01:00
qemustatusxml2xmldata tests: Drop more QEMU driver config overrides 2023-03-06 14:44:13 +01:00
qemuvhostuserdata qemu: add vhost-user helpers 2019-09-24 13:19:08 -04:00
qemuxml2argvdata qemu: implement QEMU NBD source reconnect delay attribute 2023-03-10 09:38:05 +01:00
qemuxml2xmloutdata qemu: implement QEMU NBD source reconnect delay attribute 2023-03-10 09:38:05 +01:00
schemas virschematest: Add infrastructure for testing single devices 2022-11-03 09:19:54 +01:00
secretxml2xmlin schema: secret: Relax requirements for usage name 2021-01-08 09:18:21 +01:00
securityselinuxhelperdata tests: Flesh out securityselinuxhelper 2014-03-07 14:02:10 +01:00
securityselinuxlabeldata security_selinux.c: Relabel existing mode="bind" UNIX sockets 2022-07-01 14:51:19 +02:00
storagepoolcapsschemadata storage: add vmfs filesystem type 2019-12-20 14:31:08 +01:00
storagepoolschemadata schema: require target path in storage pool xml 2013-05-17 08:33:22 +02:00
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 schema: Add physical sizing element for storagevol grammar 2018-05-25 09:32:37 -04:00
storagevolxml2argvdata storage: Introduce 'extended_l2' feature for storage volume 2021-12-21 13:23:09 +01:00
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 virsysinfo: Parse OEM strings 2020-06-10 14:00:38 +02:00
vboxsnapshotxmldata tests: fix vbox snapshot xmls 2014-06-18 15:19:18 +02:00
vircaps2xmldata whitespace clean-ups 2021-07-15 14:50:48 +02:00
vircgroupdata tests: add cgroup nested tests 2021-02-10 13:37:12 +01:00
virconfdata Add suggestions for virt-pki-query-dn usage 2021-11-12 12:37:29 +01:00
virfilecachedata tests: add virfilecachetest 2017-07-26 15:33:45 +02:00
virfiledata virfile: Add Quobyte as a shared fs 2019-07-19 10:52:06 +02:00
virhostcpudata hostcpu: Implement virHostCPUGetSignature for s390 2020-05-25 16:09:58 +02:00
virjsondata jsontest: Add test cases for deflattening of arrays 2020-03-20 09:47:16 +01:00
virmacmaptestdata Revert "Switch from yajl to Jansson" 2018-08-13 15:50:01 +02:00
virnetdaemondata rpc: Fix error message in virNetServerSetClientLimits 2023-01-02 20:39:09 +01:00
virnetdevopenvswitchdata test: Introduce virnetdevopenvswitchtest 2019-07-16 13:42:39 +02:00
virnetdevtestdata/sys/class/net Introduce virnetdevtest 2015-04-14 19:33:02 +02:00
virnetworkportxml2xmldata conf: Format managed property of hostdev-pci ports correctly 2022-04-05 13:40:33 +02:00
virnwfilterbindingxml2xmldata conf: add support for parsing/formatting virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
virpcitestdata virpcimock: Introduce NVMe driver and devices 2019-12-17 10:04:43 +01:00
virprocessstatdata util: Add virProcessGetStat 2021-11-23 16:43:08 +01:00
virresctrldata conf: Add memory bandwidth allocation capability of host 2018-08-13 14:19:41 -04:00
virscsidata tests: Fix SCSI test data filenames for Windows 2014-03-29 21:14:15 +01:00
virstoragetestdata virstoragetest: Reinstate testing of images without 'backing_fmt' 2021-09-09 15:29:00 +02:00
virstorageutildata storage: gluster: Use volume name as "<name>" field in the XML 2017-04-04 16:36:15 +02:00
virusbtestdata/sys_bus_usb/devices Add tests for virUSBDeviceFind functions 2014-03-03 14:35:22 +01:00
vmwareverdata vmware: make version parsing more robust 2014-06-11 14:56:18 +02:00
vmx2xmldata Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
xlconfigdata libxl: Add support for custom firmware path in config converter 2023-03-10 11:02:02 -07:00
xmconfigdata xen: recognize device_model_override 2020-12-07 15:38:31 -07:00
xml2vmxdata Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
.valgrind.supp tests: valgrind.supp: suppress g_type_register_static leaks 2020-03-09 15:46:42 +01:00
bhyveargv2xmlmock.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 bhyvexml2argvtest: use virCommandToStringFull to strip command path 2021-04-21 14:20:03 +02:00
bhyvexml2xmltest.c bhyve: auto allocate nmdm console paths 2021-02-08 18:50:47 +04:00
chxml2xmltest.c test: Introduce chxml2xmltest 2023-02-14 13:59:45 +01:00
commandhelper.c commandhelper: printCwd: Print result directly instead of copying it 2021-03-05 15:33:34 +01:00
commandtest.c commandtest: Comply with FreeBSD poll() 2022-12-01 17:24:31 +01:00
cputest.c qemu: capabilities: Don't make callers check return of virQEMUCapsNew(Binary) 2023-03-06 20:55:50 +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 Forget last daemon/ dir artefacts 2018-07-27 15:44:38 +02:00
libvirtd-pool tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
libxlmock.c tests: Fix libxlxml2domconfigtest 2022-11-11 08:10:34 -07:00
libxlxml2domconfigtest.c libxl: Support specifying a custom firmware path 2023-03-10 11:01:42 -07:00
lxcconf2xmltest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
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 tests: remove pointless labels 2021-09-09 18:06:13 +02:00
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 tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
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 src: Use archive.org for dead URLs 2022-05-24 12:19:18 +02:00
permitted_file_access.txt scripts: remove use of the term 'whitelist' from build helpers 2020-06-26 15:36:40 +01:00
pkix_asn1_tab.c tests: Replace deprecated ASN1 code 2021-05-18 10:02:24 +02:00
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 Fix some typos 2022-01-12 11:43:30 +01:00
qemucapabilitiestest.c qemu: Remove return value checks from calls to virQEMUCapsNewCopy 2023-03-06 20:55:50 +01:00
qemucaps2xmlmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
qemucaps2xmltest.c qemu: capabilities: Don't make callers check return of virQEMUCapsNew(Binary) 2023-03-06 20:55:50 +01:00
qemucapsprobe.c qemu: Invalidate capabilities cache on host cpuid mismatch 2021-11-05 17:12:25 +01:00
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 qemu: capabilities: Remove unused virQEMUCapsInitQMPBasicArch 2023-03-07 12:26:33 +01:00
qemumemlocktest.c qemu: capabilities: Don't make callers check return of virQEMUCapsNew(Binary) 2023-03-06 20:55:50 +01:00
qemumigparamstest.c qemu_migration: Apply max-postcopy-bandwidth on post-copy resume 2022-07-01 11:28:34 +02:00
qemumigrationcookiexmltest.c tests: Set the QEMU driver as privileged in common code 2023-03-06 14:35:35 +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 qemuTestCapsCacheInsert*: Drop the file cache rather than poisoning it 2023-03-06 20:55:50 +01:00
qemusecuritytest.h qemusecuritytest: Store 'notRestored' files in a hash table 2021-02-11 17:05:33 +01:00
qemustatusxml2xmltest.c qemuTestCapsCacheInsert*: Drop the file cache rather than poisoning it 2023-03-06 20:55:50 +01:00
qemuvhostusertest.c qemuvhostusertest: Base iteration on string lists 2021-02-11 17:05:34 +01:00
qemuxml2argvmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemuxml2argvtest.c qemuAppendLoadparmMachineParm: add loadparm from hostdev 2023-03-10 08:54:05 +01:00
qemuxml2xmltest.c qemuAppendLoadparmMachineParm: add loadparm from hostdev 2023-03-10 08:54:05 +01:00
scsihosttest.c tests: Move fakerootdir handling to common logic 2023-03-03 13:52:37 +01: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 qemu: capabilities: Don't make callers check return of virQEMUCapsNew(Binary) 2023-03-06 20:55:50 +01:00
securityselinuxtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
shunloadhelper.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
shunloadtest.c syntax-check: sc_avoid_write: Don't use blanket file exceptions 2022-02-15 09:32:23 +01:00
sockettest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
ssh.c src: remove virFilePrintf in favour of g_fprintf 2020-02-04 14:00:45 +00:00
storagepoolcapstest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
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 tests: Don't advertise VIR_TEST_EXPENSIVE to users 2020-09-23 11:30:05 +02:00
testutils.c tests: Poison more XDG variables 2023-03-06 14:35:35 +01:00
testutils.h tests: Introduce helpers for fakerootdir handling 2023-03-03 13:52:37 +01:00
testutilshostcpus.h tests: qemu: Add 'ppc' machine caps based on 'qemu-system-ppc' on fedora 2023-03-06 20:55:50 +01: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 Fix some typos 2023-03-09 14:09:16 +01:00
testutilsqemu.h testutilsqemu: Introduce ARG_QEMU_CAPS_DEL, to mask out flags from real caps 2023-03-06 20:55:50 +01:00
testutilsqemuschema.c virjson: Change virJSONValueObjectHasKey() signature 2022-08-01 10:24:34 +02:00
testutilsqemuschema.h testQEMUSchemaValidateCommand: Add possibility for partial QMP validation 2021-10-18 14:00:58 +02:00
testutilsxen.c Use g_auto for stealing virCaps 2021-12-13 14:44:01 +01:00
testutilsxen.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 Do not check return value of VIR_REALLOC_N 2021-03-22 12:44:18 +01:00
virauthconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virbitmaptest.c Use G_N_ELEMENTS() more 2023-03-13 13:29:07 +01:00
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 testutilsqemu: Remove unused non-x86 fake machine types 2022-01-07 09:25:13 +01:00
vircgroupmock.c vircgroupmock: fix cgroup v1 mocking 2022-10-19 16:32:14 +02:00
vircgrouptest.c tests: Adopt fakerootdir helpers 2023-03-03 13:52:37 +01:00
virconftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vircryptotest.c util: Remove use of virCryptoHaveCipher(VIR_CRYPTO_CIPHER_AES256CBC) 2021-09-22 14:53:55 +02:00
virdnsmasqmock.c virdnsmasq: Lookup DNSMASQ in PATH 2022-01-18 15:19:47 +01:00
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 tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
virerrortest.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virfilecachemock.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virfilecachetest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
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 tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
virfirewallmock.c tests: introduce virfirewallmock 2021-04-21 14:18:51 +02:00
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 lib: Fix c99 style comments 2017-04-27 14:13:19 +02:00
virhostcputest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virhostdevmock.c tests: Introduce virhostdevmock 2020-05-06 16:24:31 +02:00
virhostdevtest.c tests: Move fakerootdir handling to common logic 2023-03-03 13:52:37 +01:00
virhostidmock.c tests: Add mock library for virGetHostname and virGetHostUUID 2020-11-09 12:25:49 +01:00
viridentitytest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
viriscsitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
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 tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
virmacmaptest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virmigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virmock.h tests: Allow expansion of mocked stat symbols 2022-03-07 10:31:24 +01:00
virmockstathelpers.c virmockstathelpers: Load aliases for 64-bit time 2022-11-21 15:49:36 +01:00
virnetdaemonmock.c tests: don't mock the time() function on mingw 2020-07-23 14:58:16 +01:00
virnetdaemontest.c rpc: Fix error message in virNetServerSetClientLimits 2023-01-02 20:39:09 +01:00
virnetdevbandwidthmock.c tests: Add getuid() to virnetdevbandwidthmock 2019-07-09 15:01:54 +02:00
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 Use G_N_ELEMENTS() more 2023-03-13 13:29:07 +01:00
virnetmessagetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetserverclientmock.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnetserverclienttest.c lib: Drop intermediary return variables 2021-10-25 12:48:46 +02:00
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 lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
virnettlshelpers.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
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 tests: Move fakerootdir handling to common logic 2023-03-03 13:52:37 +01:00
virpcivpdtest.c tests: Fix fd leaks in virpcivpdtest 2022-02-11 15:06:19 +01:00
virpolkittest.c tests: fix incorrect free of GVariant in our GLib mock functions 2020-10-02 12:43:15 +02:00
virportallocatormock.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virportallocatortest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virprocessmock.c tests: Mock virProcessGetMaxMemLock() 2021-03-08 22:41:40 +01:00
virprocessstattest.c util: Add virProcessGetStat 2021-11-23 16:43:08 +01:00
virrandommock.c virnettlscontext: Don't set DH parameters ourselves 2022-07-01 13:04:59 +02:00
virresctrltest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virrotatingfiletest.c tests: use VIR_AUTOCLOSE 2021-09-09 18:06:13 +02:00
virschematest.c virschematest: Add infrastructure for testing single devices 2022-11-03 09:19:54 +01:00
virscsitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virsh-auth tests: Fix flake8 errors in virsh-auth 2021-03-22 12:05:18 +01:00
virsh-auth.xml src: fix mixup of stack and heap allocated data in auth callback 2020-03-06 17:02:10 +00:00
virsh-checkpoint tests: virsh-checkpoint/snapshot: Mark as expensive 2020-11-23 14:44:39 +01:00
virsh-cpuset tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-define-dev-segfault virsh-domain: Add quotes around '%s' formatting domain name 2021-01-06 09:25:07 +01:00
virsh-int-overflow tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-optparse tests: Update expected output of virsh-optparse 2021-06-02 16:43:57 +02:00
virsh-output tests: virsh-output: Mark as expensive 2020-11-23 14:44:39 +01:00
virsh-output-commands virsh: Added attach-disk support for network disk 2020-11-23 14:44:39 +01:00
virsh-output.out virsh: Added attach-disk support for network disk 2020-11-23 14:44:39 +01:00
virsh-read-bufsiz virsh-domain: Add quotes around '%s' formatting domain name 2021-01-06 09:25:07 +01:00
virsh-read-non-seekable tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-schedinfo meson: src/util/virfile: rewrite virFileActivateDirOverrideForProg 2020-08-03 09:26:36 +02:00
virsh-self-test tests: Self test virt-admin 2016-09-14 13:18:07 +02:00
virsh-snapshot virsh: Add message to terminal when running snapshot-revert 2022-12-07 14:33:28 +01:00
virsh-start tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-undefine virsh-domain: Add quotes around '%s' formatting domain name 2021-01-06 09:25:07 +01:00
virsh-uriprecedence tests: Avoid writing into $HOME during virsh-snapshot 2019-04-04 09:35:40 -05:00
virsh-vcpupin tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
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 virsystemdtest: remove unused 'demo_socket_path' 2022-02-17 14:17:04 +01:00
virt-aa-helper-test meson: tests: add test scripts 2020-08-03 09:27:06 +02:00
virt-admin-self-test tests: Self test virt-admin 2016-09-14 13:18:07 +02:00
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 lib: Don't set variable to NULL after VIR_FREE() 2022-02-01 17:37:06 +01:00
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 tests: remove pointless labels 2021-09-09 18:06:13 +02:00
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