libvirt/tests
Michal Privoznik 8b133e82fc tests: Link some mocks with libtest_qemu_driver.so
I've noticed some tests fail to run under valgrind with the
following error:

  $ valgrind --leak-check=full --trace-children=yes ./qemuxmlconftest
  valgrind: symbol lookup error: libvirt.git/_build/tests/libdomaincapsmock.so: undefined symbol: virQEMUCapsGet

But without valgrind the test passes just fine. While we usually
don't want to change our code just to adhere to random tools, in
this case we ought to make an exception because valgrind helps us
to detect memory leaks.

NB, the --trace-children=yes is needed whenever a test
re-executes itself, i.e. when it uses mocks. Otherwise we'd just
get (boring) result for the first invocation of main() which does
nothing more than sets up the environment and calls exec().

When running the test binary without valgrind I can see the
libtest_qemu_driver.so being loaded even after exec:

$ LD_DEBUG=libs ./qemuxmlconftest 2>&1 | grep -e libtest_qemu_driver.so -e virQEMUCapsGet
      6439:     find library=libtest_qemu_driver.so [0]; searching
      6439:       trying file=libvirt.git/_build/tests/../src/libtest_qemu_driver.so
      6439:       trying file=libvirt.git/_build/tests/glibc-hwcaps/x86-64-v3/libtest_qemu_driver.so
      6439:       trying file=libvirt.git/_build/tests/glibc-hwcaps/x86-64-v2/libtest_qemu_driver.so
      6439:       trying file=libvirt.git/_build/tests/libtest_qemu_driver.so
      6439:     calling init: libvirt.git/_build/tests/libtest_qemu_driver.so
      6439:     find library=libtest_qemu_driver.so [0]; searching
      6439:       trying file=libvirt.git/_build/tests/libtest_qemu_driver.so
      6439:     calling init: libvirt.git/_build/tests/libtest_qemu_driver.so
      6439:     calling fini: libvirt.git/_build/tests/libtest_qemu_driver.so [0]

But running the same under valgrind:

$ LD_DEBUG=libs valgrind --leak-check=full --trace-children=yes ./qemuxmlconftest 2>&1 | grep -e libtest_qemu_driver.so -e virQEMUCapsGet
      6515:     find library=libtest_qemu_driver.so [0]; searching
      6515:       trying file=libvirt.git/_build/tests/../src/libtest_qemu_driver.so
      6515:       trying file=libvirt.git/_build/tests/glibc-hwcaps/x86-64-v3/libtest_qemu_driver.so
      6515:       trying file=libvirt.git/_build/tests/glibc-hwcaps/x86-64-v2/libtest_qemu_driver.so
      6515:       trying file=libvirt.git/_build/tests/libtest_qemu_driver.so
      6515:     calling init: libvirt.git/_build/tests/libtest_qemu_driver.so
      6515:     libvirt.git/_build/tests/libdomaincapsmock.so: error: symbol lookup error: undefined symbol: virQEMUCapsGet (fatal)
valgrind: symbol lookup error: libvirt.git/_build/tests/libdomaincapsmock.so: undefined symbol: virQEMUCapsGet

To me, it looks like valgrind forced linker to lookup symbols
"sooner", as individual libraries are loaded. But I must admit I
have no idea how valgrind does that (or if that's even valgrind's
'fault').

But fix is pretty simple: link mocks that rely on symbols from
the QEMU driver with the QEMU driver, well, its test suite
suitable version (libtest_qemu_driver.so).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2024-05-15 12:31:45 +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 conf: Report CPU clusters in capabilities XML 2024-01-15 14:56:35 +01:00
chxml2xmlin tests: chxml2xmlin: Fix path format for fake paths 2023-08-25 10:07:36 +02: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: Drop 'mpx' from x86 cpu models 2024-05-02 19:56:45 +02:00
domainbackupxml2xmlin schemas: backup: Allow missing 'type' attribute for backup disk 2023-05-16 10:26:33 +02:00
domainbackupxml2xmlout schemas: backup: Allow missing 'type' attribute for backup disk 2023-05-16 10:26:33 +02:00
domaincapsdata cpu_map: Drop 'mpx' from x86 cpu models 2024-05-02 19:56:45 +02:00
domainconfdata
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
genericxml2xmlindata tests: Add title-and-description 2024-01-30 10:58:13 +01:00
genericxml2xmloutdata qemuxml2xmltest: Move 'graphics-listen-network2' case go genericxml2xmltest 2024-01-04 22:26:10 +01:00
interfaceschemadata
libxlxml2domconfigdata xen: explicitly set hostdev driver.name at runtime, not in postparse 2024-01-07 23:59:00 -05:00
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata network: Generate TFTP config regardless of DHCP 2022-06-01 09:40:40 +02:00
networkxml2firewalldata
networkxml2xmlin conf: support manually specifying VFIO variant driver in <hostdev> XML 2024-01-08 01:00:08 -05:00
networkxml2xmlout conf: support manually specifying VFIO variant driver in <hostdev> XML 2024-01-08 01:00:08 -05:00
networkxml2xmlupdatein
networkxml2xmlupdateout network: Allow adding DNS entries sharing hostname for multiple addreses 2021-07-16 14:50:57 +02:00
nodedevmdevctldata nodedev: Implement virNodeDeviceUpdate 2024-02-26 11:09:57 +01:00
nodedevschemadata nodedev: add an active config to mdev 2024-02-26 10:59:47 +01:00
nodedevxml2xmlout nodedev: add an active config to mdev 2024-02-26 10:59:47 +01:00
nssdata
nwfilterxml2firewalldata nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
nwfilterxml2xmlin nwfilterxml2xmltest: Add test case for parser and formatter quirks 2023-06-05 13:23:06 +02:00
nwfilterxml2xmlout virNWFilterRuleDefDetailsFormat: Refactor formatter 2023-06-05 13:23:06 +02:00
qemuagentdata qemuagenttest: Use real x86_64 capabilities for parsing domain definitions 2023-07-20 15:23:34 +02:00
qemublocktestdata qemuBlockStorageSourceGetBackendProps: Unify ordering of fields 2023-11-02 15:31:10 +01:00
qemucapabilitiesdata qemu_capabilities: Add QEMU_CAPS_DEVICE_VIRTIO_SOUND capability 2024-05-02 15:37:53 +02:00
qemucaps2xmloutdata Add test script for loongarch 2024-03-21 14:42:27 +01:00
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout qemudomaincheckpointxml2xmltest: Use real 'x86_64' capabilities in all test data 2023-07-20 15:23:43 +02:00
qemudomainsnapshotxml2xmlin
qemudomainsnapshotxml2xmlout tests: qemudomainsnapshotxml2xmlout: Use real 'x86_64' capabilities in all test data 2023-07-20 15:23:24 +02:00
qemufirmwaredata tests: Don't advertise features for edk2-loongarch64 2024-03-07 13:35:05 +01:00
qemuhotplugtestcpus conf: Allow specifying CPU clusters 2024-01-15 14:56:35 +01:00
qemuhotplugtestdevices tests: remove explicit <driver name='vfio'/> from hostdev test cases 2024-01-07 23:59:00 -05:00
qemuhotplugtestdomains conf: Allow specifying CPU clusters 2024-01-15 14:56:35 +01:00
qemumemlockdata tests: remove explicit <driver name='vfio'/> from hostdev test cases 2024-01-07 23:59:00 -05:00
qemumigparamsdata tests: qemumigparamsdata: Drop deprecated fields 2023-11-10 10:04:04 +01:00
qemumigrationcookiexmldata qemu: migration: Don't transfer 'allowReboot' flag 2021-08-25 15:32:44 +02:00
qemumonitorjsondata tests: Verify handling of CPU clusters in QMP data 2024-01-15 14:56:36 +01:00
qemunbdkitdata qemu: fix nbdkit command test for backing chains 2024-02-09 14:45:20 -06:00
qemusecuritydata
qemustatusxml2xmldata tests: remove explicit <driver name='vfio'/> from hostdev test cases 2024-01-07 23:59:00 -05:00
qemuvhostuserdata
qemuxmlactive2xmldata qemuxmlactivetest: Add qemu active XML to active/inactive XML tests 2024-01-17 17:31:12 +01:00
qemuxmlconfdata qemuxmlconftest: Test 'page_per_vq' config option for 'vhostuser' backed disk 2024-05-15 10:37:55 +02: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 storage: Upgrade default qcow2 verion to 1.1 2024-03-12 10:34:43 +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
vboxsnapshotxmldata
viracpidata tests: Introduce viracpitest 2023-04-06 12:48:22 +02:00
vircaps2xmldata conf: Report CPU clusters in capabilities XML 2024-01-15 14:56:35 +01: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
virfiledata
virhostcpudata tests: Add hostcpudata for machine with CPU clusters 2024-01-15 14:56:35 +01:00
virjsondata
virmacmaptestdata
virnetdaemondata rpc: Fix error message in virNetServerSetClientLimits 2023-01-02 20:39:09 +01:00
virnetdevopenvswitchdata
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata conf: support manually specifying VFIO variant driver in <hostdev> XML 2024-01-08 01:00:08 -05:00
virnwfilterbindingxml2xmldata
virpcitestdata
virprocessstatdata util: Add virProcessGetStat 2021-11-23 16:43:08 +01:00
virresctrldata
virscsidata
virshtestdata virshtest: Add test cases for command completion helper 2024-04-25 14:13:19 +02:00
virstoragetestdata storage_file_probe: Treat qcow2 images with protocol drivers in backing store field as raw 2023-11-27 10:12:34 +01:00
virstorageutildata
virusbtestdata/sys_bus_usb/devices
virutiltestdata util: add virGetSubUIDs 2023-12-14 17:10:22 +01:00
vmwareverdata
vmx2xmldata vmx: Do not require DVS Port ID 2024-05-14 08:32:13 +02:00
xlconfigdata xen: explicitly set hostdev driver.name at runtime, not in postparse 2024-01-07 23:59:00 -05:00
xmconfigdata xen: explicitly set hostdev driver.name at runtime, not in postparse 2024-01-07 23:59:00 -05:00
xml2vmxdata Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
.valgrind.supp tests: Refresh valgrind suppressions 2023-07-20 11:22:08 +02: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
chxml2xmlmock.c tests: Introduce chxml2xmlmock 2024-03-12 17:37:51 +01:00
chxml2xmltest.c tests: Introduce chxml2xmlmock 2024-03-12 17:37:51 +01:00
commandhelper.c lib: Replace qsort() with g_qsort_with_data() 2023-11-24 09:53:14 +01:00
commandtest.c vircommand: Introduce virCommandMassCloseRange() 2023-08-24 12:45:00 +02:00
cputest.c cpu: Add removedPolicy parameter to virCPUUpdate 2024-05-02 19:56:45 +02:00
domaincapsmock.c qemu: S390 does not provide physical address size 2023-07-19 08:42:08 +02:00
domaincapstest.c Add test script for loongarch 2024-03-21 14:42:27 +01: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: fix tests when test driver is disabled 2024-05-08 15:57:31 +01:00
fdstreamtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
genericxml2xmltest.c tests: Add title-and-description 2024-01-30 10:58:13 +01:00
interfacexml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
libxlmock.c test: drop bogus check for YAJL from libxl test/mock 2024-05-08 16:01:34 +01:00
libxlxml2domconfigtest.c test: drop bogus check for YAJL from libxl test/mock 2024-05-08 16:01:34 +01: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 tests: Link some mocks with libtest_qemu_driver.so 2024-05-15 12:31:45 +02:00
metadatatest.c tests: remove pointless labels 2021-09-09 18:06:13 +02:00
networkmetadatatest.c Add Test driver and testcase for Network Metadata change APIs 2023-08-25 12:36:37 +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: support manually specifying VFIO variant driver in <hostdev> XML 2024-01-08 01:00:08 -05:00
networkxml2xmlupdatetest.c conf: network: Provide only virNetworkDefParse 2022-10-06 10:54:25 +02:00
nodedevmdevctltest.c nodedevmdevctltest: Fix two memleaks 2024-02-26 14:35:52 +01:00
nodedevxml2xmltest.c test: nodedev: fill active_config at driver startup time 2024-04-24 09:38:54 -04:00
nsslinktest.c
nssmock.c tests: mock __open_2() 2024-03-14 15:17:48 +01:00
nsstest.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
nwfilterebiptablestest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
nwfilterxml2firewalltest.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
nwfilterxml2xmltest.c nwfilterxml2xmltest: Add test case for parser and formatter quirks 2023-06-05 13:23:06 +02: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
pkix_asn1_tab.c tests: Replace deprecated ASN1 code 2021-05-18 10:02:24 +02:00
qemuagenttest.c qemuagenttest: Use real x86_64 capabilities for parsing domain definitions 2023-07-20 15:23:34 +02:00
qemublocktest.c qemu: block: Remove unused flags QEMU_BLOCK_STORAGE_SOURCE_BACKEND_PROPS_ flags 2023-11-02 15:32:43 +01:00
qemucapabilitiestest.c qemucapabilitiestest: Add support for '+hvf' variant 2023-04-03 09:19:06 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c virQEMUCapsInitGuestFromBinary: Remove return value 2023-04-03 09:19:07 +02:00
qemucapsprobe.c tests: qemucapsprobe: Fix construction of path to libqemucapsprobemock.so 2024-04-24 14:12:17 +02:00
qemucapsprobemock.c tests: qemucaps: Make JSON output identical to python's 'json.dump' method 2024-02-01 10:39:40 +01: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 qemudomaincheckpointxml2xmltest: Use real 'x86_64' capabilities in all test data 2023-07-20 15:23:43 +02:00
qemudomainsnapshotxml2xmltest.c tests: qemudomainsnapshotxml2xmlout: Use real 'x86_64' capabilities in all test data 2023-07-20 15:23:24 +02:00
qemufirmwaretest.c Add loongarch cpu support 2024-03-21 14:42:20 +01:00
qemuhotplugmock.c qemu: make vdpa connect function more generic 2023-09-12 11:06:41 -05:00
qemuhotplugtest.c qemuBlockStorageSourceNeedsFormatLayer: Stop formatting 'raw' driver when not needed 2024-02-02 16:03:08 +01:00
qemumemlocktest.c qemumemlocktest: Use 'testQemuInsertRealCaps' 2023-07-20 15:23:16 +02:00
qemumigparamstest.c qemu_migration: Apply max-postcopy-bandwidth on post-copy resume 2022-07-01 11:28:34 +02:00
qemumigrationcookiexmltest.c qemumigrationcookiexmltest: Don't crash when parsing of status XML fails 2023-11-10 10:04:04 +01:00
qemumonitorjsontest.c tests: Verify handling of CPU clusters in QMP data 2024-01-15 14:56:36 +01:00
qemumonitortestutils.c qemumonitortestutils: Unexport 'qemuMonitorTestProcessFileEntries' 2024-02-01 10:39:40 +01:00
qemumonitortestutils.h qemumonitortestutils: Unexport 'qemuMonitorTestProcessFileEntries' 2024-02-01 10:39:40 +01:00
qemunbdkittest.c qemu: fix nbdkit command test for backing chains 2024-02-09 14:45:20 -06:00
qemusecuritymock.c qemusecuritytest: Call real virFileExists in mock 2024-04-09 16:55:25 +02:00
qemusecuritytest.c qemuxmlconftest: Move data directory 'qemuxml2argvdata' to 'qemuxmlconfdata' 2024-01-24 09:19:28 +01:00
qemusecuritytest.h qemusecuritytest: Store 'notRestored' files in a hash table 2021-02-11 17:05:33 +01:00
qemuvhostusertest.c qemuvhostusertest: Base iteration on string lists 2021-02-11 17:05:34 +01:00
qemuxml2argvmock.c qemuxml2argvmock: Mock virNetDevSetMTU 2024-01-04 22:26:10 +01:00
qemuxmlactivetest.c qemuxmlconftest: Move data directory 'qemuxml2argvdata' to 'qemuxmlconfdata' 2024-01-24 09:19:28 +01:00
qemuxmlconftest.c qemu: Generate command line for sound devices with model 'virtio' 2024-05-02 15:38:34 +02: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 tests: mock: Accept spaces in build path 2024-04-15 09:24:16 +02:00
securityselinuxtest.c tests: mock: Accept spaces in build path 2024-04-15 09:24:16 +02:00
shunloadhelper.c
shunloadtest.c syntax-check: sc_avoid_write: Don't use blanket file exceptions 2022-02-15 09:32:23 +01:00
sockettest.c lib: Finish using struct zero initializer manually 2023-08-03 16:41:19 +02:00
ssh.c
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
testutils.c tests: mock: Accept spaces in build path 2024-04-15 09:24:16 +02:00
testutils.h tests: mock: Accept spaces in build path 2024-04-15 09:24:16 +02:00
testutilshostcpus.h Add test script for loongarch 2024-03-21 14:42:27 +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 testutilsqemu: Don't leak struct testQemuArgs::vdpafds 2024-05-14 15:06:07 +02:00
testutilsqemu.h qemuxml2argvtest: Extract setup/parse step 2024-01-17 17:31:12 +01:00
testutilsqemuschema.c testQEMUSchemaValidateObjectMember: validate QMP object member deprecation 2023-06-05 13:20:13 +02:00
testutilsqemuschema.h testQEMUSchemaValidateCommand: Add possibility for partial QMP validation 2021-10-18 14:00:58 +02:00
testutilsxen.c virCapabilitiesAllocMachines: Use NULL-terminated list as argument and return count 2023-04-03 09:19:07 +02:00
testutilsxen.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
utiltest.c util: add virGetSubUIDs 2023-12-14 17:10:22 +01:00
vboxsnapshotxmltest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
viracpitest.c tests: Introduce viracpitest 2023-04-06 12:48:22 +02: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 virbitmap: Introduce virBitmapParseUnlimitedAllowEmpty() 2024-05-06 15:26:58 +02:00
virbuftest.c tests: Use virTestCompareToString() more 2022-12-01 14:22:39 +01:00
vircaps2xmltest.c tests: Add hostcpudata for machine with CPU clusters 2024-01-15 14:56:35 +01:00
vircgroupmock.c tests: mock __open_2() 2024-03-14 15:17:48 +01: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 vircryptotest: Fix cipher test typo aes265cbc -> aes256cbc 2023-04-03 08:21:27 +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 util: Update format strings in translated messages (part 1) 2023-04-01 11:40:35 +02:00
virfilecachemock.c
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: mock __open_2() 2024-03-14 15:17:48 +01:00
virfilewrapper.h
virfirewallmock.c virfirewallmock: Replace virFindFileInPath() with virFirewallDIsRegistered() 2023-05-10 14:44:22 +02:00
virfirewalltest.c tests: Drop dead code 2023-04-04 10:52:15 +02: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: Add hostcpudata for machine with CPU clusters 2024-01-15 14:56:35 +01:00
virhostdevmock.c
virhostdevtest.c conf: put hostdev PCI backend into a struct 2024-01-07 23:57:09 -05:00
virhostidmock.c
viridentitytest.c tests: mock: Accept spaces in build path 2024-04-15 09:24:16 +02:00
viriscsitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virjsontest.c virjsontest: Introduce a test case for an empty array 2023-08-24 13:47:41 +02: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: mock __open_2() 2024-03-14 15:17:48 +01:00
virmockstathelpers.c virmockstathelpers: Adapt to musl-1.2.4 2023-05-16 08:48:17 +02:00
virnetdaemonmock.c
virnetdaemontest.c rpc: virnetserver: virNetServerAddService() to void 2024-01-04 17:05:34 +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 Use G_N_ELEMENTS() more 2023-03-13 13:29:07 +01:00
virnetmessagetest.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +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 Decrease scope of some variables 2023-08-03 16:35:11 +02: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
virnettlssessiontest.c tests: Drop needless virrandom mock from two tests 2022-11-21 15:36:08 +01:00
virnetworkportxml2xmltest.c virnetworkportxml2xmltest: Add simple versions of bridge/network tests 2024-01-04 22:26:10 +01:00
virnumamock.c virnumamock: Introduce virNumaGetNodeOfCPU() mock 2023-03-15 12:46:21 +01:00
virnwfilterbindingxml2xmltest.c conf: nwfilterbinding: Provide only virNWFilterBindingDefParse 2022-10-06 10:54:24 +02:00
virpcimock.c tests: mock __open_2() 2024-03-14 15:17:48 +01:00
virpcitest.c virPCIDeviceGetVPD: Handle errors in callers 2024-01-31 17:24:07 +01:00
virpcivpdtest.c util: virpcivpd: Remove return value from virPCIVPDResourceUpdateKeyword 2024-01-31 17:24:07 +01:00
virpolkittest.c
virportallocatormock.c
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 virrandommock: Drop virRandomGenerateWWN 2023-07-19 13:09:11 +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 qemuxmlconftest: Move 'qemuxml2xmloutdata' into 'qemuxmlconfdata' 2024-01-24 09:19:28 +01:00
virscsitest.c tests: vir: remove pointless labels 2021-09-09 18:06:13 +02:00
virsh-auth scripts: Fix the flake8 syntax-check failures 2023-06-29 11:51:27 +02:00
virsh-auth.xml
virshtest.c tests: fix two off-by-1 errors in read-big-pipe test 2024-05-08 14:33:42 +01:00
virstoragetest.c storage_file_probe: Treat qcow2 images with protocol drivers in backing store field as raw 2023-11-27 10:12:34 +01:00
virstorageutiltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virstringtest.c lib: Replace qsort() with g_qsort_with_data() 2023-11-24 09:53:14 +01:00
virsystemdtest.c tests: Add tests for virSystemdResolvedRegisterNameServer 2024-02-07 14:19:42 +01:00
virt-aa-helper-test tests: Allow spaces in path to virt-aa-helper 2024-04-15 09:28:32 +02:00
virtestmock.c tests: mock __open_2() 2024-03-14 15:17:48 +01: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: mock __open_2() 2024-03-14 15:17:48 +01: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 vmx: Check serialX.vspc before serialX.fileName 2024-05-02 17:22:37 +02:00
vshtabletest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
xlconfigtest.c libxl: Fix domxml-to-native conversion 2024-05-02 15:57:29 -06:00
xmconfigtest.c libxl: Fix domxml-to-native conversion 2024-05-02 15:57:29 -06:00
xml2vmxtest.c Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00