libvirt/tests
Peter Krempa ef4c325f25 virCommandSetSendBuffer: Provide saner semantics
The function is used to automatically feed a buffer into a pipe which
can be used by the command to read contents of the buffer.

Rather than passing in a pipe, let's create the pipe inside
virCommandSetSendBuffer and directly associate the reader end with the
command. This way the ownership of both ends of the pipe will end up
with the virCommand right away reducing the need of cleanup in callers.

The returned value then can be used just to format the appropriate
arguments without worrying about cleanup or failure.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-03-05 15:33:34 +01:00
..
bhyveargv2xmldata bhyve: parse: Set video device model when parsing bhyve commandline 2020-10-19 11:50:49 +02:00
bhyvexml2argvdata bhyve: auto allocate nmdm console paths 2021-02-08 18:50:47 +04:00
bhyvexml2xmloutdata bhyve: auto allocate nmdm console paths 2021-02-08 18:50:47 +04:00
capabilityschemadata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
commanddata tests: commandtest: Make 'test4' checking daemonization more reliable 2020-07-27 15:44:38 +02:00
cputestdata cpumap: Add support for ibrs CPU feature 2021-03-01 20:09:46 +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 qemu: wire up support for maximum CPU model 2021-02-10 11:44:48 +00:00
domainconfdata domainconfdata/getfilesystem.xml: Remove <init> element 2020-10-20 09:05:10 +02:00
domainschemadata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
fchostdata/fc_host
genericxml2xmlindata schema: add support for Windows file paths and device names 2020-11-24 18:45:07 +00:00
genericxml2xmloutdata schema: add support for Windows file paths and device names 2020-11-24 18:45:07 +00:00
interfaceschemadata
libxlxml2domconfigdata libxl: use b_info->{acpi,acpi} when available 2020-09-18 08:51:47 +02: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
networkxml2confdata tests: Add tests for <lease/> to cover dnsmasq settings 2020-04-23 10:59:33 +02:00
networkxml2firewalldata util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
networkxml2xmlin conf: add an attribute to turn on NAT for IPv6 virtual networks 2020-06-15 17:10:15 +01:00
networkxml2xmlout conf: add an attribute to turn on NAT for IPv6 virtual networks 2020-06-15 17:10:15 +01:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevmdevctldata nodedev: Add testing for 'mdevctl stop' 2020-06-19 10:39:55 +02:00
nodedevschemadata node_device: detecting mdev_types capability on ap_matrix device 2020-12-09 14:03:05 +01:00
nssdata nss: handle leases with infinite expiry time 2021-01-04 15:33:31 +01:00
nwfilterxml2firewalldata util/tests: enable locking on iptables/ebtables commandlines in unit tests 2020-11-24 14:21:08 -05:00
nwfilterxml2xmlin nwfilterxml2xmltest: Rename cases with XMLs not conforming to schema 2020-10-20 09:05:10 +02:00
nwfilterxml2xmlout
qemuagentdata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemublocktestdata qemu: Probe whether an image is 'qcow2 v2' from query-named-block-nodes 2021-02-20 13:20:32 +01:00
qemucapabilitiesdata qemu: capabilities: Introduce QEMU_CAPS_MIGRATION_PARAM_BLOCK_BITMAP_MAPPING 2021-02-20 13:20:32 +01:00
qemucaps2xmloutdata tests: add capabilities data files for sparc emulator target 2020-11-20 12:09:51 +00:00
qemudomaincheckpointxml2xmlin backup: Document new XML for checkpoints 2019-07-26 16:48:58 -05:00
qemudomaincheckpointxml2xmlout tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemudomainsnapshotxml2xmlin conf: snapshot: Add support for <metadata_cache> 2021-01-08 15:27:00 +01:00
qemudomainsnapshotxml2xmlout conf: snapshot: Add support for <metadata_cache> 2021-01-08 15:27:00 +01:00
qemufirmwaredata
qemuhotplugtestcpus qemuhotplugtestcpus: Always use 'query-cpus-fast' 2020-03-05 11:31:38 +01:00
qemuhotplugtestdevices qemu: support hotplug of vdpa devices 2020-10-20 15:15:06 -04:00
qemuhotplugtestdomains qemu: support hotplug of vdpa devices 2020-10-20 15:15:06 -04:00
qemumemlockdata
qemumigparamsdata
qemumigrationcookiexmldata tests: qemumigrationcookie: Add testing for block dirty bitmap migration 2021-02-20 13:21:21 +01:00
qemumonitorjsondata tests: validate parsing of CPUs with dies > 1 2020-03-16 16:00:27 +00:00
qemusecuritydata qemusecuritytest: Test SELinux too 2020-11-06 09:14:01 +01:00
qemustatusxml2xmldata tests: qemustatusxml2xml: Add status XML from migration with bitmaps 2021-02-20 13:21:21 +01:00
qemuvhostuserdata qemu: add vhost-user helpers 2019-09-24 13:19:08 -04:00
qemuxml2argvdata qemu: use on|off instead of yes|no for -object boolean properties 2021-02-16 14:03:13 +00:00
qemuxml2xmloutdata conf: parse/format <teaming> element in plain <hostdev> 2021-02-11 17:15:34 -05:00
secretxml2xmlin schema: secret: Relax requirements for usage name 2021-01-08 09:18:21 +01:00
securityselinuxhelperdata
securityselinuxlabeldata
storagepoolcapsschemadata storage: add vmfs filesystem type 2019-12-20 14:31:08 +01:00
storagepoolschemadata
storagepoolxml2argvdata storagepoolxml2argvtest: Reorder gluster arguments 2020-11-04 11:54:03 +01:00
storagepoolxml2xmlin conf: add control over COW for storage pool directories 2020-07-23 16:18:09 +01:00
storagepoolxml2xmlout conf: add control over COW for storage pool directories 2020-07-23 16:18:09 +01:00
storagevolschemadata
storagevolxml2argvdata storagevolxml2argvdata: Rewrap all output files 2021-02-16 12:25:30 +01:00
storagevolxml2xmlin storage: add support for qcow2 LUKS encryption 2020-09-18 11:22:28 +01:00
storagevolxml2xmlout virStorageVolDefFormat: Don't format empty <source> 2021-03-01 15:44:47 +01:00
sysinfodata virsysinfo: Parse OEM strings 2020-06-10 14:00:38 +02:00
vboxsnapshotxmldata
vircaps2xmldata tests: add host CPU data files for validating die_id 2020-01-16 15:11:55 +00:00
vircgroupdata tests: add cgroup nested tests 2021-02-10 13:37:12 +01:00
virconfdata rpc: remove use of the term 'whitelist' from RPC code 2020-06-26 15:36:40 +01:00
virfilecachedata
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
virnetdaemondata tests: fix misc spelling errors reported by codespell 2020-10-05 10:28:43 +01:00
virnetdevopenvswitchdata test: Introduce virnetdevopenvswitchtest 2019-07-16 13:42:39 +02:00
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata tests: fix missing test data for network port XML 2020-02-25 15:43:56 +00:00
virnwfilterbindingxml2xmldata
virpcitestdata virpcimock: Introduce NVMe driver and devices 2019-12-17 10:04:43 +01:00
virresctrldata
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata tests: Test vmx files with missing images 2021-01-06 02:05:10 +01:00
xlconfigdata xen: recognize device_model_override 2020-12-07 15:38:31 -07:00
xmconfigdata xen: recognize device_model_override 2020-12-07 15:38:31 -07:00
xml2vmxdata Add a check attribute on the mac address element 2020-07-23 16:11:39 +01:00
.valgrind.supp tests: valgrind.supp: suppress g_type_register_static leaks 2020-03-09 15:46:42 +01:00
bhyveargv2xmlmock.c tests: avoid probing host CPU from bhyve test 2020-01-09 18:05:17 +00:00
bhyveargv2xmltest.c bhyve: add VNC password support 2020-09-22 17:19:26 +04:00
bhyvexml2argvmock.c qemu/lxc: plumb isolatedPort from config down through bridge attachment 2020-02-20 23:13:15 -05:00
bhyvexml2argvtest.c bhyve: auto allocate nmdm console paths 2021-02-08 18:50:47 +04:00
bhyvexml2xmltest.c bhyve: auto allocate nmdm console paths 2021-02-08 18:50:47 +04:00
commandhelper.c Use g_steal_pointer where possible 2021-03-01 15:54:42 +01:00
commandtest.c virCommandSetSendBuffer: Provide saner semantics 2021-03-05 15:33:34 +01:00
cputest.c qemu: report whether a CPU model is deprecated in dom capabilities 2021-02-03 17:26:39 +00:00
domaincapsmock.c domaincapsmock: mock virHostCPUGetMicrocodeVersion() 2020-08-25 19:44:43 +02:00
domaincapstest.c tests: use g_new0 instead of VIR_ALLOC_N 2020-09-23 16:49:01 +02:00
domainconftest.c conf: drop virCapsPtr param from domain parse APIs 2019-12-09 10:17:27 +00:00
esxutilstest.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
eventtest.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
fchosttest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
fdstreamtest.c tests: use g_new0 instead of VIR_ALLOC_N 2020-09-23 16:49:01 +02:00
genericxml2xmltest.c schema: add support for Windows file paths and device names 2020-11-24 18:45:07 +00:00
interfacexml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
libvirtd-fail
libvirtd-pool
libxlmock.c tests: libxl: do not run the emulator 2020-02-25 12:05:01 +01:00
libxlxml2domconfigtest.c tests: Adjust libxlxml2domconfigtest to work with Xen < 4.10 2020-09-24 12:27:07 +02:00
lxcconf2xmltest.c conf: drop virCapsPtr param from domain formatting APIs 2019-12-09 10:17:27 +00:00
lxcxml2xmltest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
meson.build tests: qemumigrationcookie: Add testing for block dirty bitmap migration 2021-02-20 13:21:21 +01:00
metadatatest.c
networkxml2conftest.c networkxml2xmltest: Complete renaming of @actual 2020-04-23 12:38:01 +02:00
networkxml2firewalltest.c util/tests: enable locking on iptables/ebtables commandlines by default 2020-11-24 14:21:29 -05:00
networkxml2xmltest.c conf: add an attribute to turn on NAT for IPv6 virtual networks 2020-06-15 17:10:15 +01:00
networkxml2xmlupdatetest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
nodedevmdevctltest.c tests: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:45 -05:00
nodedevxml2xmltest.c node_device: detecting mdev_types capability on ap_matrix device 2020-12-09 14:03:05 +01:00
nsslinktest.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
nssmock.c tests: use WITH_NSS instead of NSS 2020-07-10 09:40:58 +02:00
nsstest.c nss: handle leases with infinite expiry time 2021-01-04 15:33:31 +01:00
nwfilterebiptablestest.c util/tests: enable locking on iptables/ebtables commandlines by default 2020-11-24 14:21:29 -05:00
nwfilterxml2firewalltest.c tests: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:45 -05:00
nwfilterxml2xmltest.c nwfilterxml2xmltest: Rename cases with XMLs not conforming to schema 2020-10-20 09:05:10 +02:00
objecteventtest.c Include unistd.h where used 2020-02-24 23:15:50 +01:00
openvzutilstest.c tests: fix warning with old GCC about missing struct initializer 2019-12-09 14:46:13 +00:00
openvzutilstest.conf
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
qemuagenttest.c qemu_agent: add qemuAgentGetDisks 2020-12-01 11:23:41 +01:00
qemublocktest.c qemu: Probe whether an image is 'qcow2 v2' from query-named-block-nodes 2021-02-20 13:20:32 +01:00
qemucapabilitiestest.c tests: get rid of 'make check' references 2020-08-17 08:42:47 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c tests: qemu: remove unnecessary labels 2020-08-03 07:23:46 +02:00
qemucapsfixreplies
qemucapsprobe.c qemu: Invalidate capabilities when host CPU changes 2020-05-25 16:10:04 +02:00
qemucapsprobemock.c
qemucommandutiltest.c qemu: remove support for generating yes|no boolean options 2021-02-16 14:03:13 +00:00
qemucpumock.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
qemudomaincheckpointxml2xmltest.c conf: checkpoint: Prepare internals for missing domain definition 2020-12-04 16:15:03 +01:00
qemudomainsnapshotxml2xmltest.c conf: snapshot: Add support for <metadata_cache> 2021-01-08 15:27:00 +01:00
qemufirmwaretest.c qemufirmwaretest: Base iteration on string lists 2021-02-11 17:05:34 +01:00
qemuhotplugmock.c qemu: support hotplug of vdpa devices 2020-10-20 15:15:06 -04:00
qemuhotplugtest.c tests: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:45 -05:00
qemumemlocktest.c tests: qemu: remove unnecessary labels 2020-08-03 07:23:46 +02:00
qemumigparamstest.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
qemumigrationcookiexmltest.c tests: qemumigrationcookie: Add testing for block dirty bitmap migration 2021-02-20 13:21:21 +01:00
qemumonitorjsontest.c qemu: monitor: Introduce qemuMonitorBitmapRemove 2021-02-20 13:21:21 +01:00
qemumonitortestutils.c tests: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:45 -05:00
qemumonitortestutils.h util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
qemusecuritymock.c qemusecuritytest: Store 'notRestored' files in a hash table 2021-02-11 17:05:33 +01:00
qemusecuritytest.c qemusecuritytest: Store 'notRestored' files in a hash table 2021-02-11 17:05:33 +01:00
qemusecuritytest.h qemusecuritytest: Store 'notRestored' files in a hash table 2021-02-11 17:05:33 +01:00
qemustatusxml2xmltest.c qemu*xml2*test: Cache capabilities between tests 2021-02-20 13:28:50 +01:00
qemuvhostusertest.c qemuvhostusertest: Base iteration on string lists 2021-02-11 17:05:34 +01:00
qemuxml2argvmock.c virnetdevopenvswitch: Get names for dpdkvhostuserclient too 2020-11-12 08:24:43 +01:00
qemuxml2argvtest.c qemu*xml2*test: Cache capabilities between tests 2021-02-20 13:28:50 +01:00
qemuxml2xmltest.c qemu*xml2*test: Cache capabilities between tests 2021-02-20 13:28:50 +01:00
scsihosttest.c lib: Replace virFileMakePathWithMode() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
seclabeltest.c util: replace strerror/strerror_r with g_strerror 2019-10-14 10:54:42 +01:00
secretxml2xmltest.c schema: secret: Relax requirements for usage name 2021-01-08 09:18:21 +01:00
securityselinuxhelper.c tests: use g_new0 instead of VIR_ALLOC 2020-09-23 14:54:38 +02:00
securityselinuxlabeltest.c lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
securityselinuxtest.c tests: use g_new0 instead of VIR_ALLOC_N 2020-09-23 16:49:01 +02:00
shunloadhelper.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
shunloadtest.c meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
sockettest.c sockettest: testMaskNetwork: use g_auto 2020-11-19 17:25:44 +01:00
ssh.c src: remove virFilePrintf in favour of g_fprintf 2020-02-04 14:00:45 +00:00
storagebackendsheepdogtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
storagepoolcapstest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
storagepoolxml2argvtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
storagepoolxml2xmltest.c conf: add control over COW for storage pool directories 2020-07-23 16:18:09 +01:00
storagevolxml2argvtest.c storage: add support for qcow2 LUKS encryption 2020-09-18 11:22:28 +01:00
storagevolxml2xmltest.c storage: add support for qcow2 LUKS encryption 2020-09-18 11:22:28 +01:00
sysinfotest.c virsysinfo: Parse OEM strings 2020-06-10 14:00:38 +02:00
test-lib.sh tests: Don't advertise VIR_TEST_EXPENSIVE to users 2020-09-23 11:30:05 +02:00
testutils.c testutils: virTestRewrapFile: Rewrap also '.argv' files 2021-02-16 12:25:30 +01:00
testutils.h meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
testutilshostcpus.h tests: add fake host CPU for sparc architecture 2020-11-20 12:09:51 +00:00
testutilslxc.c lxc: Set default security model in XML parser config 2020-12-07 10:41:15 -07:00
testutilslxc.h conf: don't use passed in caps in post parse method 2019-12-09 10:15:16 +00:00
testutilsqemu.c qemu*xml2*test: Cache capabilities between tests 2021-02-20 13:28:50 +01:00
testutilsqemu.h qemu*xml2*test: Cache capabilities between tests 2021-02-20 13:28:50 +01:00
testutilsqemuschema.c virJSONValueArrayAppend: Clear pointer when taking ownership of passed value 2021-02-20 13:26:37 +01:00
testutilsqemuschema.h util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
testutilsxen.c libxl: do not mock virFileMakePath 2020-02-25 12:05:00 +01:00
testutilsxen.h conf: don't use passed in caps in post parse method 2019-12-09 10:15:16 +00:00
utiltest.c tests: qemu: reduce scope of some variables 2020-08-03 07:23:45 +02:00
vboxsnapshotxmltest.c lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
viralloctest.c tests: viralloc: Remove testDispose case 2021-02-03 13:07:13 +01:00
virauthconfigtest.c tests: authconfigtest: move declarations 2020-08-25 19:03:12 +02:00
virbitmaptest.c virBitmapNew: Don't check return value 2020-10-05 15:38:47 +02:00
virbuftest.c tests: eliminate unnecessary labels 2020-07-08 16:35:54 -04:00
vircaps2xmltest.c tests: add host CPU data files for validating die_id 2020-01-16 15:11:55 +00:00
vircapstest.c tests: qemu: Unify fake machine types filled in for KVM and TCG caps of x86_64 2020-01-27 14:55:03 +01:00
vircgroupmock.c lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
vircgrouptest.c tests: add cgroup nested tests 2021-02-10 13:37:12 +01:00
virconftest.c Replace virStringListLength by g_strv_length 2021-02-11 17:05:34 +01:00
vircryptotest.c vircryptotest: Directly assign string to avoid memcpy 2021-02-02 15:00:55 +01:00
virdriverconnvalidatetest.c tests: add a test for driver.c:virConnectValidateURIPath() 2019-10-11 12:20:08 -04:00
virdrivermoduletest.c
virendiantest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01: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: replace VIR_FREE with g_free in all *Dispose() functions 2021-02-05 00:22:09 -05:00
virfilemock.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virfiletest.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virfilewrapper.c tests: Only mock $INODE64 symbols on x86_64 macOS 2021-02-10 11:03:39 +01:00
virfilewrapper.h
virfirewalltest.c virfirewalltest: Avoid use of 'virStringListAdd' 2021-02-11 17:05:33 +01:00
virgdbusmock.c tests: introduce virgdbusmock to mock GLib DBus functions 2020-09-17 18:19:56 +02:00
virhostcpumock.c
virhostcputest.c virhostcputest: linuxCPUStatsCompareFiles: Don't check return value of virBufferContentAndReset 2021-03-02 09:50:19 +01:00
virhostdevmock.c tests: Introduce virhostdevmock 2020-05-06 16:24:31 +02:00
virhostdevtest.c lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
virhostidmock.c tests: Add mock library for virGetHostname and virGetHostUUID 2020-11-09 12:25:49 +01:00
viridentitytest.c viridentitytest: Run more frequently 2020-11-09 15:43:53 +01:00
viriscsitest.c tests: iscsitest: split out testISCSIScanTargetsTests 2020-08-25 19:03:12 +02:00
virjsontest.c jsontest: Add test cases for deflattening of arrays 2020-03-20 09:47:16 +01:00
virkeycodetest.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virkmodtest.c tests: use g_auto for all virBuffers 2020-07-08 16:34:09 -04:00
virlockspacetest.c src: add virutil.h to more source files for geteuid() compat 2020-02-25 10:02:15 +00:00
virlogtest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
virmacmaptest.c util: macmap: Convert to use GSList for storing macs instead of string lists 2021-02-11 17:05:33 +01:00
virmigtest.c peer2peer migration: allow connecting to local sockets 2020-09-04 10:20:49 +02:00
virmock.h tests: Fix mock chaining on macOS 2020-11-27 16:28:31 +01:00
virmockstathelpers.c tests: Only mock $INODE64 symbols on x86_64 macOS 2021-02-10 11:03:39 +01:00
virnetdaemonmock.c tests: don't mock the time() function on mingw 2020-07-23 14:58:16 +01:00
virnetdaemontest.c tests: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:45 -05:00
virnetdevbandwidthmock.c tests: Add getuid() to virnetdevbandwidthmock 2019-07-09 15:01:54 +02:00
virnetdevbandwidthtest.c Use g_autoptr instead of virNetDevBandwidthFree where possible 2021-03-04 17:30:08 +01:00
virnetdevmock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virnetdevopenvswitchtest.c virnetdevopenvswitch: Try to unescape ovs-vsctl reply in one specific case 2020-12-17 09:27:51 +01:00
virnetdevtest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
virnetmessagetest.c tests: use g_new0 instead of VIR_ALLOC_N 2020-09-23 16:49:01 +02:00
virnetserverclientmock.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virnetserverclienttest.c tests: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:45 -05:00
virnetsockettest.c tests: use g_new0 instead of VIR_ALLOC_N 2020-09-23 16:49:01 +02:00
virnettlscontexttest.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virnettlshelpers.c tests: use g_new0 instead of VIR_ALLOC_N 2020-09-23 16:49:01 +02:00
virnettlshelpers.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virnettlssessiontest.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virnetworkportxml2xmltest.c tests: fix missing test data for network port XML 2020-02-25 15:43:56 +00:00
virnumamock.c tests: virNumaGetPages: use g_new0 instead of VIR_ALLOC_N 2020-09-23 14:54:38 +02:00
virnwfilterbindingxml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virpcimock.c lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
virpcitest.c virpci.c: simplify virPCIDeviceNew() signature 2021-01-29 17:52:10 -03: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 lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virprocessmock.c tests: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virrandommock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virresctrltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virrotatingfiletest.c Split declarations from initializations 2020-08-25 19:03:11 +02:00
virschematest.c change DIR* int g_autoptr(DIR) where appropriate 2020-11-02 22:01:36 -05:00
virscsitest.c Include unistd.h where used 2020-02-24 23:15:50 +01:00
virsh-auth src: fix mixup of stack and heap allocated data in auth callback 2020-03-06 17:02:10 +00: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
virsh-define-dev-segfault virsh-domain: Add quotes around '%s' formatting domain name 2021-01-06 09:25:07 +01:00
virsh-int-overflow
virsh-optparse meson: src/util/virfile: rewrite virFileActivateDirOverrideForProg 2020-08-03 09:26:36 +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
virsh-schedinfo meson: src/util/virfile: rewrite virFileActivateDirOverrideForProg 2020-08-03 09:26:36 +02:00
virsh-self-test
virsh-snapshot tests: virsh-checkpoint/snapshot: Mark as expensive 2020-11-23 14:44:39 +01:00
virsh-start
virsh-undefine virsh-domain: Add quotes around '%s' formatting domain name 2021-01-06 09:25:07 +01:00
virsh-uriprecedence
virsh-vcpupin
virshtest.c virshtest: use virCommand instead of custom impl 2020-02-11 16:30:18 +01:00
virstoragetest.c lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
virstorageutiltest.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
virstringtest.c virstringtest: Remove testing of virStringSplitCount 2021-02-11 17:05:35 +01:00
virsystemdtest.c virsystemd: introduce virSystemdGetMachineUnitByPID 2021-02-10 13:37:11 +01:00
virt-aa-helper-test meson: tests: add test scripts 2020-08-03 09:27:06 +02:00
virt-admin-self-test
virtestmock.c meson: tests: add file access test setup 2020-08-03 09:27:06 +02:00
virtimetest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00:00
virtypedparamtest.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
viruritest.c tests: use VIR_WARNINGS_NO_DECLARATION_AFTER_STATEMENT 2020-08-25 19:03:13 +02:00
virusbmock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virusbtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
vmwarevertest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
vmx2xmltest.c vmx: Treat missing cdrom-image as empty drive 2021-01-06 02:05:10 +01:00
vshtabletest.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
xlconfigtest.c tests: use g_new0 instead of VIR_ALLOC_N 2020-09-23 16:49:01 +02:00
xmconfigtest.c tests: use g_new0 instead of VIR_ALLOC_N 2020-09-23 16:49:01 +02:00
xml2vmxtest.c Add a type attribute on the mac address element 2020-07-13 18:47:44 +02:00