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 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
commanddata virCommandToStringFull: Improve linebreaking behaviour 2021-04-12 15:55:10 +02:00
cputestdata cpu-data.py: Automatically adjust command line for kcpuid 2021-05-07 18:02:48 +02:00
domainbackupxml2xmlin
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 genericxml2xmltest: Modify cachetune test to include id 2021-07-20 16:43:46 +02:00
interfaceschemadata
libxlxml2domconfigdata
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin network: Allow adding DNS entries sharing hostname for multiple addreses 2021-07-16 14:50:57 +02:00
networkxml2xmlout network: Allow adding DNS entries sharing hostname for multiple addreses 2021-07-16 14:50:57 +02:00
networkxml2xmlupdatein
networkxml2xmlupdateout network: Allow adding DNS entries sharing hostname for multiple addreses 2021-07-16 14:50:57 +02:00
nodedevmdevctldata nodedev: Add tests for mdevctl autostart command 2021-09-14 14:24:07 -05:00
nodedevschemadata Partial Revert of "tests: nodedevxml2xmltest: test more mdev files" 2021-05-27 15:38:19 +02:00
nodedevxml2xmlout nodedev: Revert auto-start property for mdevs 2021-05-27 15:38:28 +02:00
nssdata
nwfilterxml2firewalldata nwfilterxml2firewalldata: Use internal wrapping to wrap output files 2021-04-12 15:55:10 +02:00
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 qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemudomainsnapshotxml2xmlin
qemudomainsnapshotxml2xmlout qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
qemufirmwaredata
qemuhotplugtestcpus qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplugtestdevices qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplugtestdomains qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemumemlockdata
qemumigparamsdata
qemumigrationcookiexmldata qemu: migration: Don't transfer 'allowReboot' flag 2021-08-25 15:32:44 +02:00
qemumonitorjsondata
qemusecuritydata
qemustatusxml2xmldata storage_source: Add flag storing whether threshold event was registered with index 2021-07-12 16:34:07 +02:00
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 storagepoolxml2argvtest: Use internal wrapping of command line arguments 2021-04-12 15:55:10 +02:00
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata
storagevolxml2argvdata storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
storagevolxml2xmlin storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
storagevolxml2xmlout storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
sysinfodata
vboxsnapshotxmldata
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
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 XML <source bridge='VMnet0'/> update in <interface type='bridge'/> 2021-04-01 13:36:35 +02:00
.valgrind.supp
bhyveargv2xmlmock.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
bhyveargv2xmltest.c tests: bhyve: use bitwise shift when defining flags 2021-09-08 15:13:12 +02:00
bhyvexml2argvmock.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02: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
commandhelper.c commandhelper: printCwd: Print result directly instead of copying it 2021-03-05 15:33:34 +01:00
commandtest.c Remove static analysis assertions 2021-05-24 20:26:20 +02:00
cputest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
domaincapsmock.c tests: fix compiling tests with minGW 2021-07-22 15:07:17 +02:00
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 tests: libxl: Mock xs_open and xs_close 2021-05-18 09:09:37 -06:00
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 tests: Replace deprecated ASN1 code 2021-05-18 10:02:24 +02:00
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 lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c tests: use g_auto in testQemuGetCaps 2021-08-20 15:19:35 +02:00
qemucapsfixreplies
qemucapsprobe.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemudomainsnapshotxml2xmltest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemufirmwaretest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemuhotplugmock.c virDevMapperGetTargets: Use a linked list as return type 2021-09-21 12:25:42 +02:00
qemuhotplugtest.c qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemumemlocktest.c
qemumigparamstest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemusecuritymock.c qemusecuritymock: init_hash: virHashNew cannot return NULL 2021-07-23 11:30:31 +02:00
qemusecuritytest.c qemusecuritytest: Honour EXIT_AM_SKIP 2021-05-18 13:18:05 +02:00
qemusecuritytest.h qemusecuritytest: Store 'notRestored' files in a hash table 2021-02-11 17:05:33 +01:00
qemustatusxml2xmltest.c test: Drop unused @cfg from qemu*test 2021-08-26 09:16:44 +02:00
qemuvhostusertest.c qemuvhostusertest: Base iteration on string lists 2021-02-11 17:05:34 +01:00
qemuxml2argvmock.c qemuxml2argvmock: drop virQEMUCapsGetKVMSupportsSecureGuest 2021-07-22 15:55:26 +02:00
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 tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
secretxml2xmltest.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
securityselinuxhelper.c securityselinuxhelper: Fix retval of setcon_raw() and security_disable() 2021-05-10 13:32:43 +02:00
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
storagepoolcapstest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
storagepoolxml2argvtest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
storagepoolxml2xmltest.c
storagevolxml2argvtest.c storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
storagevolxml2xmltest.c storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00
sysinfotest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
testutilslxc.c tests: use g_autofree 2021-09-09 18:06:13 +02:00
testutilslxc.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
testutilsqemuschema.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
testutilsxen.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 Do not check return value of VIR_REALLOC_N 2021-03-22 12:44:18 +01:00
virauthconfigtest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virbitmaptest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
virbuftest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
vircaps2xmltest.c vircaps2xmltest: Introduce HMAT test case 2021-06-15 11:03:56 +02:00
vircapstest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
vircgroupmock.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 Drop magic comments for coverity 2021-05-24 20:26:20 +02:00
virendiantest.c tests: Return EXIT_FAILURE/EXIT_SUCCESS instead of -1/0 2021-05-17 09:25:32 +02:00
virerrortest.c
virfilecachemock.c
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 tests: introduce virfirewallmock 2021-04-21 14:18:51 +02:00
virfirewalltest.c tests: use virfirewallmock instead of hasNetfilterTools 2021-04-21 14:19:26 +02:00
virgdbusmock.c
virhostcpumock.c
virhostcputest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virhostdevmock.c
virhostdevtest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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 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
virmock.h
virmockstathelpers.c tests: Only mock $INODE64 symbols on x86_64 macOS 2021-02-10 11:03:39 +01:00
virnetdaemonmock.c
virnetdaemontest.c tests: use g_autoptr instead of virJSONValueFree 2021-09-09 18:06:13 +02:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c tests: virnetdev*: remove unnecessary labels 2021-08-20 16:43:20 +02:00
virnetdevmock.c
virnetdevopenvswitchtest.c tests: virnetdev*: remove unnecessary labels 2021-08-20 16:43:20 +02:00
virnetdevtest.c
virnetmessagetest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnetserverclientmock.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnetserverclienttest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnetsockettest.c tests: vir: use g_autofree 2021-09-09 18:06:13 +02:00
virnettlscontexttest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virnettlshelpers.c tests: use VIR_AUTOCLOSE 2021-09-09 18:06:13 +02:00
virnettlshelpers.h
virnettlssessiontest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
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
virportallocatormock.c
virportallocatortest.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virprocessmock.c tests: Mock virProcessGetMaxMemLock() 2021-03-08 22:41:40 +01:00
virrandommock.c
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 lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02: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
virsh-checkpoint
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow
virsh-optparse tests: Update expected output of virsh-optparse 2021-06-02 16:43:57 +02:00
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
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