libvirt/tests
Peter Krempa 6c49c2ee9f virDevMapperGetTargets: Use a linked list as return type
Of the two callers one simply iterates over the returned paths and the
second one appends the returned paths to another linked list. Simplify
all of this by directly returning a linked list.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-09-21 12:25:42 +02:00
..
bhyveargv2xmldata
bhyvefirmwaredata
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata
commanddata
cputestdata
domainbackupxml2xmlin backup: Allow configuring incremental backup per-disk individually 2020-07-08 08:40:30 +02:00
domainbackupxml2xmlout
domaincapsdata qemucapabilitiesdata: Update qemu caps dump for 6.1.0 release 2021-08-25 10:33:38 +02:00
domainconfdata
domainschemadata
fchostdata/fc_host
genericxml2xmlindata conf: introduce support for Fibre Channel VMID 2021-08-17 13:50:38 +02:00
genericxml2xmloutdata
interfaceschemadata
libxlxml2domconfigdata
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout network: Allow adding DNS entries sharing hostname for multiple addreses 2021-07-16 14:50:57 +02:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevmdevctldata nodedev: Add tests for mdevctl autostart command 2021-09-14 14:24:07 -05:00
nodedevschemadata
nodedevxml2xmlout
nssdata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemublocktestdata qemublocktest: Add test for creating a qcow2 on top of an luks-encrypted qcow2 2021-08-20 15:43:17 +02:00
qemucapabilitiesdata qemu: add QEMU_CAPS_VIRTIO_BLK_QUEUE_SIZE capability 2021-09-21 12:22:49 +02:00
qemucaps2xmloutdata
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout
qemudomainsnapshotxml2xmlin conf: snapshot: Add support for <metadata_cache> 2021-01-08 15:27:00 +01:00
qemudomainsnapshotxml2xmlout
qemufirmwaredata
qemuhotplugtestcpus
qemuhotplugtestdevices qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplugtestdomains
qemumemlockdata
qemumigparamsdata
qemumigrationcookiexmldata qemu: migration: Don't transfer 'allowReboot' flag 2021-08-25 15:32:44 +02:00
qemumonitorjsondata
qemusecuritydata
qemustatusxml2xmldata
qemuvhostuserdata
qemuxml2argvdata qemu: Implement virtio-blk queue-size option 2021-09-21 12:22:49 +02:00
qemuxml2xmloutdata qemuxml2*test: Make disk-virtio-queues tests use DO_TEST_CAPS_LATEST 2021-09-21 12:22:48 +02:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
storagepoolcapsschemadata
storagepoolschemadata
storagepoolxml2argvdata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata schema: Add physical sizing element for storagevol grammar 2018-05-25 09:32:37 -04:00
storagevolxml2argvdata
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata
vircgroupdata
virconfdata
virfilecachedata
virfiledata
virhostcpudata
virjsondata
virmacmaptestdata
virnetdaemondata
virnetdevopenvswitchdata
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata
virnwfilterbindingxml2xmldata
virpcitestdata
virresctrldata
virscsidata
virstoragetestdata virstoragetest: Reinstate testing of images without 'backing_fmt' 2021-09-09 15:29:00 +02:00
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata tests: Add missing test cases to vmx2xmltest 2021-08-19 13:32:10 +02:00
xlconfigdata
xmconfigdata
xml2vmxdata
.valgrind.supp
bhyveargv2xmlmock.c
bhyveargv2xmltest.c tests: bhyve: use bitwise shift when defining flags 2021-09-08 15:13:12 +02:00
bhyvexml2argvmock.c
bhyvexml2argvtest.c
bhyvexml2xmltest.c
commandhelper.c
commandtest.c
cputest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
domaincapsmock.c
domaincapstest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
domainconftest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
esxutilstest.c tests: esxutils: reduce variable scope in testConvertWindows1252ToUTF8 2021-09-08 15:31:01 +02:00
eventtest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
fchosttest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
fdstreamtest.c tests: use VIR_AUTOCLOSE 2021-09-09 18:06:13 +02:00
genericxml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
interfacexml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
libvirtd-fail
libvirtd-pool
libxlmock.c
libxlxml2domconfigtest.c tests: use g_auto instead of virDomainFree 2021-09-09 18:06:13 +02:00
lxcconf2xmltest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
lxcxml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
meson.build build: only build virnetdevopenvswitchtest on Linux 2021-08-20 16:43:19 +02:00
metadatatest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
networkxml2conftest.c tests: network: use g_autofree 2021-09-09 18:06:13 +02:00
networkxml2firewalltest.c tests: network: use g_autofree 2021-09-09 18:06:13 +02:00
networkxml2xmltest.c tests: network: use g_autofree 2021-09-09 18:06:13 +02:00
networkxml2xmlupdatetest.c tests: network: use g_autofree 2021-09-09 18:06:13 +02:00
nodedevmdevctltest.c nodedev: Add tests for mdevctl autostart command 2021-09-14 14:24:07 -05:00
nodedevxml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
nsslinktest.c
nssmock.c
nsstest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
nwfilterebiptablestest.c tests: nwfilter: remove pointless labels 2021-09-09 18:06:13 +02:00
nwfilterxml2firewalltest.c tests: nwfilter: use g_autofree 2021-09-09 18:06:13 +02:00
nwfilterxml2xmltest.c tests: nwfilter: use g_autofree 2021-09-09 18:06:13 +02:00
objecteventtest.c
openvzutilstest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
openvzutilstest.conf
permitted_file_access.txt
pkix_asn1_tab.c
qemuagenttest.c tests: qemu: remove pointless labels 2021-09-09 18:06:13 +02:00
qemublocktest.c qemublocktest: Add test for creating a qcow2 on top of an luks-encrypted qcow2 2021-08-20 15:43:17 +02:00
qemucapabilitiestest.c
qemucaps2xmlmock.c
qemucaps2xmltest.c tests: use g_auto in testQemuGetCaps 2021-08-20 15:19:35 +02:00
qemucapsfixreplies
qemucapsprobe.c
qemucapsprobemock.c tests: qemu: remove pointless labels 2021-09-09 18:06:13 +02:00
qemucommandutiltest.c tests: qemu: remove pointless labels 2021-09-09 18:06:13 +02:00
qemucpumock.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemudomaincheckpointxml2xmltest.c
qemudomainsnapshotxml2xmltest.c
qemufirmwaretest.c
qemuhotplugmock.c virDevMapperGetTargets: Use a linked list as return type 2021-09-21 12:25:42 +02:00
qemuhotplugtest.c
qemumemlocktest.c
qemumigparamstest.c
qemumigrationcookiexmltest.c test: Drop unused @cfg from qemu*test 2021-08-26 09:16:44 +02:00
qemumonitorjsontest.c tests: qemu: remove pointless labels 2021-09-09 18:06:13 +02:00
qemumonitortestutils.c tests: qemu: remove pointless labels 2021-09-09 18:06:13 +02:00
qemumonitortestutils.h
qemusecuritymock.c
qemusecuritytest.c
qemusecuritytest.h
qemustatusxml2xmltest.c test: Drop unused @cfg from qemu*test 2021-08-26 09:16:44 +02:00
qemuvhostusertest.c
qemuxml2argvmock.c
qemuxml2argvtest.c qemuxml2*test: Make disk-virtio-queues tests use DO_TEST_CAPS_LATEST 2021-09-21 12:22:48 +02:00
qemuxml2xmltest.c qemuxml2*test: Make disk-virtio-queues tests use DO_TEST_CAPS_LATEST 2021-09-21 12:22:48 +02:00
scsihosttest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
seclabeltest.c
secretxml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
securityselinuxhelper.c
securityselinuxlabeltest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
securityselinuxtest.c conf: Store SCSI bus length in virDomainDef 2021-08-16 14:22:38 +02:00
shunloadhelper.c
shunloadtest.c
sockettest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
ssh.c
storagebackendsheepdogtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
storagepoolcapstest.c
storagepoolxml2argvtest.c
storagepoolxml2xmltest.c
storagevolxml2argvtest.c
storagevolxml2xmltest.c
sysinfotest.c
test-lib.sh
testutils.c tests: use g_auto instead of virDomainFree 2021-09-09 18:06:13 +02:00
testutils.h testutils: Introduce helper for stripping bulilddir/srcdir from test outputs 2021-09-09 15:29:00 +02:00
testutilshostcpus.h
testutilslxc.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
testutilslxc.h
testutilsqemu.c tests: Fix typos 2021-08-26 11:40:49 +02:00
testutilsqemu.h tests: qemuxml2*test: switch to virTestRunLog 2021-08-23 14:43:57 +02:00
testutilsqemuschema.c
testutilsqemuschema.h
testutilsxen.c
testutilsxen.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
utiltest.c
vboxsnapshotxmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
viralloctest.c
virauthconfigtest.c
virbitmaptest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
virbuftest.c
vircaps2xmltest.c
vircapstest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
vircgroupmock.c
vircgrouptest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virconftest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
vircryptotest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virdriverconnvalidatetest.c
virdrivermoduletest.c
virendiantest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
virerrortest.c
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 tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virfiletest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virfilewrapper.c util: alloc: Completely replace VIR_APPEND_ELEMENT_QUIET by VIR_APPEND_ELEMENT 2021-08-06 08:53:25 +02:00
virfilewrapper.h
virfirewallmock.c
virfirewalltest.c tests: use virfirewallmock instead of hasNetfilterTools 2021-04-21 14:19:26 +02:00
virgdbusmock.c
virhostcpumock.c lib: Fix c99 style comments 2017-04-27 14:13:19 +02:00
virhostcputest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virhostdevmock.c
virhostdevtest.c
virhostidmock.c
viridentitytest.c util: generate a persistent system token 2021-05-13 11:07:16 +01:00
viriscsitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virjsontest.c
virkeycodetest.c
virkmodtest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virlockspacetest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virlogtest.c
virmacmaptest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virmigtest.c
virmock.h
virmockstathelpers.c
virnetdaemonmock.c
virnetdaemontest.c tests: use g_autoptr instead of virJSONValueFree 2021-09-09 18:06:13 +02:00
virnetdevbandwidthmock.c tests: Add getuid() to virnetdevbandwidthmock 2019-07-09 15:01:54 +02:00
virnetdevbandwidthtest.c tests: virnetdev*: remove unnecessary labels 2021-08-20 16:43:20 +02:00
virnetdevmock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virnetdevopenvswitchtest.c tests: virnetdev*: remove unnecessary labels 2021-08-20 16:43:20 +02:00
virnetdevtest.c
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virnettlscontexttest.c
virnettlshelpers.c tests: use VIR_AUTOCLOSE 2021-09-09 18:06:13 +02:00
virnettlshelpers.h
virnettlssessiontest.c
virnetworkportxml2xmltest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virnumamock.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virnwfilterbindingxml2xmltest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virpcimock.c tests: use VIR_AUTOCLOSE 2021-09-09 18:06:13 +02:00
virpcitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virpolkittest.c tests: fix incorrect free of GVariant in our GLib mock functions 2020-10-02 12:43:15 +02:00
virportallocatormock.c
virportallocatortest.c
virprocessmock.c
virrandommock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01: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
virscsitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
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-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c tests: Test BlkioParameters related functions for test driver 2021-08-19 13:31:57 +02:00
virstoragetest.c Fix typos 2021-09-17 14:28:00 +02:00
virstorageutiltest.c
virstringtest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virsystemdtest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virt-aa-helper-test
virt-admin-self-test tests: Self test virt-admin 2016-09-14 13:18:07 +02:00
virtestmock.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virtimetest.c
virtypedparamtest.c
viruritest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virusbmock.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virusbtest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
vmwarevertest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
vmx2xmltest.c tests: vmx: remove pointless labels 2021-09-09 18:06:13 +02:00
vshtabletest.c tests: vshtabletest: remove pointless labels 2021-09-09 18:06:13 +02:00
xlconfigtest.c tests: libxl: remove pointless labels 2021-09-09 18:06:13 +02:00
xmconfigtest.c tests: libxl: remove pointless labels 2021-09-09 18:06:13 +02:00
xml2vmxtest.c tests: vmx: remove pointless labels 2021-09-09 18:06:13 +02:00