libvirt/tests
Michal Privoznik b1fc788957 virgdbusmock: Mock g_dbus_connection_call_with_unix_fd_list_sync() only on UNIX-like systems
As of GLib commit c9874f817be51d3b652457daef3b10766b59db9a,
relesed in GLib 2.73, the g_dbus_connection_call_with_unix_fd_list_sync()
function is not defined always, only when G_OS_UNIX condition is
set. This is also the reason why our virGDBusCallMethodWithFD()
function is guarded with that macro. But virgdbusmock is compiled
always, even on !UNIX systems, e.g. mingw. Therefore, we need to
use the same macro to condition compile its mock.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-09-30 15:38:47 +02:00
..
bhyveargv2xmldata
bhyvefirmwaredata
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata tests: add better QEMU capabilities example 2022-09-21 12:02:40 +01:00
commanddata
cputestdata conf: cpu: Add <signature family=X model=X stepping=X/> 2022-06-16 12:12:45 -04:00
domainbackupxml2xmlin
domainbackupxml2xmlout
domaincapsdata qemu: capabilities: Unconditionally set QEMU_CAPS_BLOCKDEV/QEMU_CAPS_BLOCKDEV_HOSTDEV_SCSI 2022-08-11 14:38:31 +02:00
domainconfdata
domainschemadata
fchostdata/fc_host
genericxml2xmlindata conf: Add support for specifying CPU max physical address size 2022-08-04 09:04:07 +02:00
genericxml2xmloutdata
interfaceschemadata
libxlxml2domconfigdata
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata network: Generate TFTP config regardless of DHCP 2022-06-01 09:40:40 +02:00
networkxml2firewalldata
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
networkxml2xmlupdateout
nodedevmdevctldata
nodedevschemadata nodedevschematest: Add example file for a HBA with 'vport_ops' capability 2022-09-01 13:11:09 +02:00
nodedevxml2xmlout nodedevschematest: Add example file for a HBA with 'vport_ops' capability 2022-09-01 13:11:09 +02:00
nssdata
nwfilterxml2firewalldata nwfilter: drop support for legacy iptables conntrack direction 2022-03-09 11:37:32 +00:00
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemublocktestdata
qemucapabilitiesdata qemu: capabilities: Retire QEMU_CAPS_NBD_SERVER 2022-09-09 16:10:47 +02:00
qemucaps2xmloutdata
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout
qemudomainsnapshotxml2xmlin
qemudomainsnapshotxml2xmlout qemudomainsnapshotxml2xmltest: Add test case for a snapshot with 'inactiveDomain' element 2022-09-01 13:11:09 +02:00
qemufirmwaredata
qemuhotplugtestcpus
qemuhotplugtestdevices qemu: support CDROM hotplug cdrom with USB/SCSI bus 2022-07-20 16:53:51 +02:00
qemuhotplugtestdomains qemuhotplugtest: Switch to -blockdev mode 2022-08-11 15:22:14 +02:00
qemumemlockdata
qemumigparamsdata
qemumigrationcookiexmldata
qemumonitorjsondata qemu: block: Remove 'qemuBlockNodeNamesDetect' and related infrastructure 2022-08-11 15:13:55 +02:00
qemusecuritydata
qemustatusxml2xmldata qemu: domain: Assume QEMU_CAPS_BLOCKDEV for the domain private code 2022-08-11 15:24:11 +02:00
qemuvhostuserdata
qemuxml2argvdata qemu: Remove host-passthrough validation check for host-phys-bits=on 2022-09-29 08:45:03 -06:00
qemuxml2xmloutdata qemuxml2xmltest: Convert all test cases asserting QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY 2022-09-01 13:11:10 +02: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
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
vircaps2xmldata
vircgroupdata
virconfdata
virfilecachedata
virfiledata
virhostcpudata
virjsondata
virmacmaptestdata
virnetdaemondata
virnetdevopenvswitchdata
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata conf: Format managed property of hostdev-pci ports correctly 2022-04-05 13:40:33 +02:00
virnwfilterbindingxml2xmldata
virpcitestdata
virprocessstatdata
virresctrldata
virscsidata
virstoragetestdata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
xlconfigdata
xmconfigdata
xml2vmxdata Rename iterface type='dummy' to type='null' 2022-08-25 13:27:04 +02:00
.valgrind.supp
bhyveargv2xmlmock.c
bhyveargv2xmltest.c conf: extend xmlopt with job config & add job object into domain object 2022-09-07 12:06:18 +02:00
bhyvexml2argvmock.c
bhyvexml2argvtest.c
bhyvexml2xmltest.c
commandhelper.c
commandtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
cputest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
domaincapsmock.c tests: Mock virQEMUCapsProbeHVF() 2022-08-10 17:49:52 +02:00
domaincapstest.c testutilsqemu: Fake TPM versions 2022-08-04 08:13:55 +02:00
domainconftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
esxutilstest.c tests: Remove unused includes 2022-06-16 06:43:58 +02: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
libvirtd-pool
libxlmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
libxlxml2domconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
lxcconf2xmltest.c
lxcxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
meson.build tests: Remove storage pool/vol tests for sheepdog 2022-09-01 13:11:09 +02:00
metadatatest.c
networkxml2conftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
networkxml2firewalltest.c tests: remove superfluous cleanup: labels and ret return variables 2022-08-24 12:22:47 -04:00
networkxml2xmltest.c tests: replace explicit virNetworkDefFree() with g_autoptr(virNetworkDef) 2022-08-24 12:22:47 -04:00
networkxml2xmlupdatetest.c tests: remove superfluous cleanup: labels and ret return variables 2022-08-24 12:22:47 -04:00
nodedevmdevctltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nodedevxml2xmltest.c nodedevschematest: Add example file for a HBA with 'vport_ops' capability 2022-09-01 13:11:09 +02:00
nsslinktest.c
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: Remove unused includes 2022-06-16 06:43:58 +02:00
nwfilterxml2firewalltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
nwfilterxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
objecteventtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
openvzutilstest.c tests: Remove unused includes 2022-06-16 06:43:58 +02: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
qemuagenttest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemublocktest.c qemuDomainValidateStorageSource: Remove 'maskBlockdev' argument 2022-08-11 15:25:11 +02:00
qemucapabilitiesnumbering.c
qemucapabilitiestest.c tests: Use domaincapsmock in qemucapabilitiestest 2022-08-10 17:49:30 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c
qemucapsprobe.c
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
qemuhotplugmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemuhotplugtest.c qemu: Retire QEMU_CAPS_BLOCKDEV 2022-08-11 15:25:36 +02:00
qemumemlocktest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemumigparamstest.c qemu_migration: Apply max-postcopy-bandwidth on post-copy resume 2022-07-01 11:28:34 +02:00
qemumigrationcookiexmltest.c virdomainjob: make drivers use job object in the domain object 2022-09-07 12:13:13 +02:00
qemumonitorjsontest.c qemu: migration: Remove QEMU_MONITOR_MIGRATE_BACKGROUND 2022-09-09 16:10:47 +02:00
qemumonitortestutils.c qemuMonitorOpenUnix: Remove 'retry' argument 2022-08-03 14:26:56 +02: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 tests: Rename and reorganize firmware tests 2022-07-01 15:10:10 +02:00
qemusecuritytest.h
qemustatusxml2xmltest.c util: remove virObjectUnref() adapters 2022-07-15 16:44:39 -05:00
qemuvhostusertest.c
qemuxml2argvmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
qemuxml2argvtest.c qemu: Remove host-passthrough validation check for host-phys-bits=on 2022-09-29 08:45:03 -06:00
qemuxml2xmltest.c qemu: assume QEMU_CAPS_CHARDEV_LOGFILE 2022-09-07 12:05:40 +02:00
scsihosttest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
seclabeltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
secretxml2xmltest.c
securityselinuxhelper.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
securityselinuxlabeltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
securityselinuxtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
shunloadhelper.c
shunloadtest.c
sockettest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
ssh.c
storagepoolcapstest.c
storagepoolxml2argvtest.c tests: Remove storage pool/vol tests for sheepdog 2022-09-01 13:11:09 +02:00
storagepoolxml2xmltest.c tests: Remove storage pool/vol tests for sheepdog 2022-09-01 13:11:09 +02:00
storagevolxml2argvtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
storagevolxml2xmltest.c tests: Remove storage pool/vol tests for sheepdog 2022-09-01 13:11:09 +02:00
sysinfotest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
test-lib.sh
testutils.c conf: extend xmlopt with job config & add job object into domain object 2022-09-07 12:06:18 +02:00
testutils.h tests: Remove unused includes 2022-06-16 06:43:58 +02:00
testutilshostcpus.h cpu_ppc64: add support for host-model on POWER10 2022-05-24 14:25:41 -03: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 qemu: Retire QEMU_CAPS_BLOCKDEV 2022-08-11 15:25:36 +02:00
testutilsqemu.h testutilsqemu: Fake TPM versions 2022-08-04 08:13:55 +02:00
testutilsqemuschema.c virjson: Change virJSONValueObjectHasKey() signature 2022-08-01 10:24:34 +02:00
testutilsqemuschema.h
testutilsxen.c
testutilsxen.h
utiltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vboxsnapshotxmltest.c
viralloctest.c
virauthconfigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virbitmaptest.c
virbuftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vircaps2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vircapstest.c
vircgroupmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vircgrouptest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virconftest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
vircryptotest.c
virdnsmasqmock.c
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
virerrortest.c
virfilecachemock.c
virfilecachetest.c
virfilemock.c tests: Remove unused includes 2022-06-16 06:43:58 +02: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
virfirewallmock.c
virfirewalltest.c tests: Remove unused includes 2022-06-16 06:43:58 +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: Remove unused includes 2022-06-16 06:43:58 +02:00
virhostdevmock.c
virhostdevtest.c
virhostidmock.c
viridentitytest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
viriscsitest.c
virjsontest.c
virkeycodetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virkmodtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virlockspacetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virlogtest.c
virmacmaptest.c
virmigtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virmock.h
virmockstathelpers.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetdaemonmock.c
virnetdaemontest.c
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c virnetdevbandwidthtest: Test QoS for OVS 2022-07-01 13:04:18 +02:00
virnetdevmock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetdevopenvswitchtest.c
virnetdevtest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetmessagetest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnettlscontexttest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnettlshelpers.c
virnettlshelpers.h
virnettlssessiontest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnetworkportxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnumamock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virnwfilterbindingxml2xmltest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virpcimock.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virpcitest.c
virpcivpdtest.c
virpolkittest.c
virportallocatormock.c
virportallocatortest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virprocessmock.c
virprocessstattest.c
virrandommock.c virnettlscontext: Don't set DH parameters ourselves 2022-07-01 13:04:59 +02:00
virresctrltest.c
virrotatingfiletest.c
virschematest.c tests: Remove unused includes 2022-06-16 06:43:58 +02:00
virscsitest.c
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 lib: Don't check for retval for virCommandNew*() 2022-08-23 16:14:05 +02: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
virt-aa-helper-test
virt-admin-self-test
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
viruritest.c tests: remove pointless label in testURIParse 2022-06-22 12:28:29 +02: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
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