libvirt/tests
Ján Tomko 27cdbcb9c2 Use macros for testing virSystemd APIs
This hides the unused third parameter from every line
and prepares for resetting the environment after each test
case in the future.
2017-03-06 15:34:33 +01:00
..
bhyveargv2xmldata bhyve: add e1000 nic support 2017-02-11 06:51:28 +04:00
bhyvexml2argvdata bhyve: add e1000 nic support 2017-02-11 06:51:28 +04:00
bhyvexml2xmloutdata bhyve: fix virtio disk addresses 2017-02-07 19:17:58 +04:00
capabilityschemadata
commanddata
cputestdata cputest: Add CPUID data for Haswell with TSX 2017-03-03 19:57:57 +01:00
domaincapsschemadata qemu: Use full CPU model expansion on x86 2017-03-03 19:57:57 +01:00
domainconfdata
domainschemadata schema: Don't validate paths 2016-08-12 10:59:21 +02:00
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout qemu: address: Remove QEMU_CAPS_DEVICE usage 2016-05-18 14:33:58 -04:00
fchostdata/fc_host nodedev: Fabric name must not be required for fc_host capability 2017-01-18 06:31:54 -05:00
genericxml2xmlindata domain_conf: vnc: preserve autoport value if no port was specified 2017-01-27 09:46:03 +01:00
genericxml2xmloutdata vnc: add support for listen type 'socket' 2016-06-09 14:42:48 +02:00
interfaceschemadata
lxcconf2xmldata lxc: support <interface type='ethernet'> 2016-05-24 15:21:05 -04:00
lxcxml2xmldata conf: support host-side IP/route information in <interface> 2016-07-01 21:13:30 -04:00
lxcxml2xmloutdata
networkxml2confdata network: Add support for local PTR domains 2016-12-19 09:03:29 +01:00
networkxml2firewalldata
networkxml2xmlin conf: support configuring mtu size in a virtual network 2017-02-07 13:52:06 -05:00
networkxml2xmlout conf: support configuring mtu size in a virtual network 2017-02-07 13:52:06 -05:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata nodedev: add drm capability 2017-02-17 15:47:58 +01:00
nssdata nss: Introduce libvirt-guest module 2016-12-06 13:34:00 +01:00
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemuargv2xmldata qemu: command: Add debug option for gluster volumes 2016-11-09 16:52:40 +01:00
qemucapabilitiesdata qemu: Use full CPU model expansion on x86 2017-03-03 19:57:57 +01:00
qemucaps2xmldata qemu: command: Use -name guest= if available 2016-05-16 10:30:38 -04:00
qemuhelpdata qemuhelptest: regenerate data for qemu-kvm-1.2.0 2016-09-23 10:30:54 +02:00
qemuhotplugtestcpus test: qemuhotplugtest: Add testing of individual vcpu hotplug 2017-02-21 15:27:24 +01:00
qemuhotplugtestdevices qemu: Add support for hot/cold-(un)plug of shmem devices 2016-11-02 17:36:50 +01:00
qemuhotplugtestdomains qemu: Add support for hot/cold-(un)plug of shmem devices 2016-11-02 17:36:50 +01:00
qemumonitorjsondata qemu: monitor: Properly propagate the 'qemu_id' field through the matcher 2016-11-22 10:44:17 +01:00
qemuxml2argvdata test: fix pcie-root-port-too-many test 2017-03-03 12:15:32 -05:00
qemuxml2xmloutdata tests: Sync tests between qemuxml2argv and qemuxml2xml 2017-02-24 11:18:07 +01:00
secretxml2xmlin conf: Add new secret type "tls" 2016-09-09 08:20:05 -04:00
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata graphics: make address attribute for listen type='address' optional 2016-05-17 10:41:45 +02:00
storagepoolschemadata
storagepoolxml2xmlin storage: vstorage pool documentation and simple test 2017-01-26 10:43:42 -05:00
storagepoolxml2xmlout tests: storage: Fix storage xml2xml test for vstorage pool 2017-01-27 10:39:53 +01:00
storagevolschemadata
storagevolxml2argvdata storage: Adjust qemu-img switches check 2016-06-21 14:31:19 -04:00
storagevolxml2xmlin storage: remove "luks" storage volume type 2016-07-27 18:59:15 +01:00
storagevolxml2xmlout storage: remove "luks" storage volume type 2016-07-27 18:59:15 +01:00
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata
vircgroupdata
virconfdata tests: rename test_conf -> virconftest 2016-04-21 18:14:07 -04:00
virfiledata
virhostcpudata nodeinfo: move host CPU APIs out into virhostcpu.c file 2016-06-09 18:31:11 +01:00
virmacmaptestdata util: Introduce virMACMap module 2016-12-06 13:33:18 +01:00
virnetdaemondata virjson: Make pretty format more compact 2016-05-05 10:01:55 +02:00
virnetdevtestdata/sys/class/net
virpcitestdata
virscsidata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata graphics: make address attribute for listen type='address' optional 2016-05-17 10:41:45 +02:00
xencapsdata
xlconfigdata tests: add xlconfig tests for <timer> configurations 2017-01-24 16:18:13 -07:00
xmconfigdata xmconfigdata: drop tests for multi serial 2016-09-02 12:46:03 -06:00
xml2sexprdata conf/openvz: eliminate incorrect/undocumented use of <source dev='blah'/> 2016-06-26 19:33:08 -04:00
xml2vmxdata esx: Add VMCI device for virtualHW >= 7 2016-05-26 11:17:06 +02:00
.valgrind.supp valgrind: add suppression for bash memory leak 2017-02-14 10:54:29 +01:00
bhyveargv2xmlmock.c bhyve: add tests for bhyveParseCommandLineString 2016-07-10 15:40:11 -04:00
bhyveargv2xmltest.c bhyve: add e1000 nic support 2017-02-11 06:51:28 +04:00
bhyvexml2argvmock.c util: add MTU arg to virNetDevTapCreateInBridgePort() 2017-02-07 13:45:08 -05:00
bhyvexml2argvtest.c bhyve: add e1000 nic support 2017-02-11 06:51:28 +04:00
bhyvexml2xmltest.c bhyve: fix virtio disk addresses 2017-02-07 19:17:58 +04:00
check-file-access.pl tests: Introduce check-file-access.pl 2016-05-14 09:46:44 +02:00
commandhelper.c
commandtest.c tests: command: Fix build on ppc64/aarch64 2016-07-14 09:41:55 +02:00
cputest.c cputest: Add CPUID data for Haswell with TSX 2017-03-03 19:57:57 +01:00
domaincapsmock.c domaincapstest: Don't read data from host 2016-07-01 12:20:54 +02:00
domaincapstest.c domaincapstest: Add test data for QEMU 2.9.0 2017-03-03 19:57:56 +01:00
domainconftest.c virDomainDefParse{File,String}: Introduce @parseOpaque argument 2016-09-26 16:50:12 +02:00
domainsnapshotxml2xmltest.c virstring: Unify string list function names 2016-11-25 13:54:05 +01:00
esxutilstest.c tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors. 2016-06-08 11:23:12 -04:00
eventtest.c tests: eventtest: fix build on macOS 2016-11-24 18:11:05 +03:00
fchosttest.c tests: Add createVHBAByNodeDevice-parent-fabric-wwn to fchosttest 2017-02-19 06:45:09 -05:00
fdstreamtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
file_access_whitelist.txt tests: Introduce check-file-access.pl 2016-05-14 09:46:44 +02:00
genericxml2xmltest.c domain_conf: vnc: preserve autoport value if no port was specified 2017-01-27 09:46:03 +01:00
interfacexml2xmltest.c Rename virtTestDifferenceFull to virTestDifferenceFull. 2016-06-08 11:23:12 -04:00
jsontest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
libvirtd-fail tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
libvirtd-pool tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
lxcconf2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
lxcxml2xmltest.c conf: support host-side IP/route information in <interface> 2016-07-01 21:13:30 -04:00
Makefile.am storage: Turn storage backends into dynamic modules 2017-02-22 09:31:33 +01:00
metadatatest.c tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors. 2016-06-08 11:23:12 -04:00
networkxml2conftest.c networkxml2conftest: Rename outxml to outconf 2017-01-04 15:10:06 +01:00
networkxml2firewalltest.c tests: Rename virtTestClearCommandPath to virTestClearCommandPath. 2016-06-08 11:23:12 -04:00
networkxml2xmltest.c conf: support configuring mtu size in a virtual network 2017-02-07 13:52:06 -05:00
networkxml2xmlupdatetest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
nodedevxml2xmltest.c nodedev: add drm capability 2017-02-17 15:47:58 +01:00
nsslinktest.c nss: Use macro to generate public API names 2016-12-06 13:33:18 +01:00
nssmock.c nss: Introduce libvirt-guest module 2016-12-06 13:34:00 +01:00
nsstest.c nss: Introduce libvirt-guest module 2016-12-06 13:34:00 +01:00
nwfilterebiptablestest.c tests: Rename virtTestClearCommandPath to virTestClearCommandPath. 2016-06-08 11:23:12 -04:00
nwfilterxml2firewalltest.c tests: Rename virtTestClearCommandPath to virTestClearCommandPath. 2016-06-08 11:23:12 -04:00
nwfilterxml2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
objecteventtest.c tests: Alter test_driver HBA name/data to be closer to reality 2017-02-19 06:45:09 -05:00
objectlocking.ml
oomtrace.pl
openvzutilstest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c tests: qemumonitor: Propagate better error messages 2017-01-18 09:57:06 +01:00
qemuargv2xmltest.c qemu: generate -display none 2016-07-07 11:51:39 +02:00
qemucapabilitiestest.c tests: add QEMU 2.9.0 caps data 2017-02-20 13:13:52 +01:00
qemucaps2xmlmock.c
qemucaps2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
qemucapsprobe.c qemu: Propagate virCapsPtr to virQEMUCapsNewForBinaryInternal 2016-09-22 15:40:08 +02:00
qemucapsprobemock.c qemucapsprobe: Ignore all greetings except the first one 2016-11-25 20:34:26 +01:00
qemucommandutiltest.c util: qemu: Add support for numbered array members 2016-07-27 13:33:10 +02:00
qemuhelptest.c qemu_capabilities: mark QEMU_CAPS_VGA_QXL capability as deprecated 2016-10-12 17:46:47 +02:00
qemuhotplugtest.c test: qemuhotplugtest: Add testing of individual vcpu hotplug 2017-02-21 15:27:24 +01:00
qemumonitorjsontest.c cpu: Rework cpuDataFree 2017-02-24 14:10:57 +01:00
qemumonitortest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
qemumonitortestutils.c tests: qemu: Add helper to load full monitor conversation from file 2017-01-18 10:04:11 +01:00
qemumonitortestutils.h tests: qemu: Add helper to load full monitor conversation from file 2017-01-18 10:04:11 +01:00
qemuxml2argvmock.c qemu: set default vhost-user ifname 2017-01-20 15:42:12 +01:00
qemuxml2argvtest.c qemu: Probe "max" CPU model in TCG 2017-03-03 19:57:57 +01:00
qemuxml2xmlmock.c qemu: set default vhost-user ifname 2017-01-20 15:42:12 +01:00
qemuxml2xmltest.c tests: Reduce QEMU_CAPS_DEVICE_{DMI_TO_, }PCI_BRIDGE usage 2017-02-24 11:18:08 +01:00
scsihosttest.c util: Move scsi_host specific functions from virutil 2017-02-19 06:45:09 -05:00
seclabeltest.c seclabeltest: Update to use VIRT_TEST_MAIN 2016-05-10 17:16:11 +02:00
secretxml2xmltest.c conf: Add new secret type "tls" 2016-09-09 08:20:05 -04:00
securityselinuxhelper.c securityselinuxhelper: Adapt to virmock.h 2016-05-14 09:22:12 +02:00
securityselinuxlabeltest.c Introduce virDomainChrSourceDefNew for virDomainChrDefPtr 2016-10-21 14:03:36 -04:00
securityselinuxtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
sexpr2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
shunloadhelper.c
shunloadtest.c
sockettest.c tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors. 2016-06-08 11:23:12 -04:00
ssh.c
storagebackendsheepdogtest.c storage: sheepdog: Split out functions required for tests 2017-01-19 09:25:51 +01:00
storagepoolxml2xmltest.c tests: storagepoolxml2xml: Remove compile conditionals 2017-02-21 08:19:11 +01:00
storagevolxml2argvtest.c storage: Split utility functions from storage_backend.(ch) 2017-01-19 09:25:51 +01:00
storagevolxml2xmltest.c encryption: Add <cipher> and <ivgen> to encryption 2016-07-01 15:46:57 -04:00
sysinfotest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
test-lib.sh tools: Fix connect command 2016-05-02 07:18:25 +02:00
test-wrap-argv.pl tests: fix the return value of test-wrap-argv 2016-08-18 13:37:08 +02:00
testutils.c daemon: Split output parsing and output defining 2016-10-10 08:27:25 +02:00
testutils.h xenconfig: support bios=ovmf xl.cfg 2016-06-13 14:13:17 -06:00
testutilslxc.c
testutilslxc.h
testutilsqemu.c qemu: Store loaded QEMU binary ctime in qemuCaps 2016-11-04 09:25:58 +01:00
testutilsqemu.h qemu: Store host-model CPU in qemu capabilities 2016-09-22 15:40:08 +02:00
testutilsxen.c
testutilsxen.h Fix build without xen 2016-06-14 08:25:25 +02:00
utiltest.c Ensure disk names follow the disk name regex 2017-02-16 09:59:13 +01:00
vboxsnapshotxmltest.c virstring: Unify string list function names 2016-11-25 13:54:05 +01:00
viralloctest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
viratomictest.c Rename virAssertCmpInt to testAssertEq 2016-06-15 15:07:47 +02:00
virauthconfigtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virbitmaptest.c util: fix off-by-one when expanding a bitmap 2017-02-14 13:30:48 +01:00
virbuftest.c util: virbuffer: introduce virBufferEscapeN 2017-02-24 12:58:23 +01:00
vircaps2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
vircapstest.c Remove separator argument from virBitmapParse 2016-06-20 12:09:52 +02:00
vircgroupmock.c tests: Drop VIR_MOCK_CALL_STAT 2016-05-20 17:16:21 +02:00
vircgrouptest.c nodeinfo: move host CPU APIs out into virhostcpu.c file 2016-06-09 18:31:11 +01:00
virconftest.c virstring: Unify string list function names 2016-11-25 13:54:05 +01:00
vircryptotest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virdbusmock.c
virdbustest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virdrivermoduletest.c tests: drivermodule: Make sure that all compiled storage backends can be loaded 2017-02-22 09:31:33 +01:00
virendiantest.c util: Introduce virReadBufInt16LE and virReadBufInt16BE 2016-06-24 13:23:02 -04:00
virfiletest.c virstring: Unify string list function names 2016-11-25 13:54:05 +01:00
virfirewalltest.c tests: Rename virtTest00MActive to virTest00MActive. 2016-06-08 11:23:12 -04:00
virhashdata.h
virhashtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virhostcpumock.c nodeinfo: move host CPU APIs out into virhostcpu.c file 2016-06-09 18:31:11 +01:00
virhostcputest.c nodeinfo: move host CPU APIs out into virhostcpu.c file 2016-06-09 18:31:11 +01:00
virhostdevtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
viridentitytest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
viriscsitest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virkeycodetest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virkeyfiletest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virkmodtest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
virlockspacetest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virlogtest.c daemon: Split filter parsing and filter defining 2016-10-10 08:27:25 +02:00
virmacmapmock.c util: Introduce virMACMap module 2016-12-06 13:33:18 +01:00
virmacmaptest.c tests: Fix virmacmaptest when allocation fails 2016-12-08 14:58:31 -05:00
virmock.h tests: Drop VIR_MOCK_CALL_STAT 2016-05-20 17:16:21 +02:00
virnetdaemonmock.c rpc: virnetserverclient: Introduce new attribute conn_time to client 2016-05-02 22:25:52 +02:00
virnetdaemontest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c Rename virtTestDifference to virTestDifference. 2016-06-08 11:23:12 -04:00
virnetdevmock.c
virnetdevtest.c util: move virInterface(State|Link)/virNetDevFeature from conf to util 2016-06-26 19:33:07 -04:00
virnetmessagetest.c tests: Rename virtTestDifferenceBin to virTestDifferenceBin. 2016-06-08 11:23:12 -04:00
virnetserverclientmock.c
virnetserverclienttest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virnetsockettest.c Add SASL to virNetSocket{Local,Remote}AddrString 2016-06-23 22:23:21 +02:00
virnettlscontexttest.c tests: mock gnutls_dh_params_generate2 2016-06-20 18:12:53 +02:00
virnettlshelpers.c
virnettlshelpers.h tls: remove support for gnutls 1.x.x, require 2.2.0 2016-06-08 13:48:45 +01:00
virnettlssessiontest.c virnettlssessiontest.c: fix grammar 2017-01-26 15:13:58 -05:00
virpcimock.c tests: Drop VIR_MOCK_CALL_STAT 2016-05-20 17:16:21 +02:00
virpcitest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virpolkittest.c tests: enable virpolkittest on any ELF platform 2016-12-22 16:32:05 +01:00
virportallocatormock.c
virportallocatortest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virrandommock.c tests: Add new fchosttest tests for management of a vHBA 2017-02-19 06:45:09 -05:00
virrotatingfiletest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virschematest.c tests: Check more network XMLs for schema compliance 2016-12-14 08:50:15 +01:00
virscsitest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virsh-cpuset tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-define-dev-segfault tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-int-overflow tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-optparse Mark virsh-optparse as expensive 2016-06-20 18:16:50 +02:00
virsh-read-bufsiz tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-read-non-seekable tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-schedinfo tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-self-test tests: Self test virt-admin 2016-09-14 13:18:07 +02:00
virsh-start tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-undefine virsh: respect -q/--quiet more 2016-08-24 17:43:29 +02:00
virsh-uriprecedence tools: Fix connect command 2016-05-02 07:18:25 +02:00
virsh-vcpupin tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virshtest.c tests: Rename virtTestCaptureProgramOutput to virTestCaptureProgramOutput. 2016-06-08 11:23:13 -04:00
virstoragetest.c util: storage: add JSON backing volume parser 'raw' block driver 2017-02-22 10:39:57 +01:00
virstringtest.c internal: Simplify STREQ_NULLABLE 2017-01-05 14:40:15 +01:00
virsystemdtest.c Use macros for testing virSystemd APIs 2017-03-06 15:34:33 +01:00
virt-aa-helper-test
virt-admin-self-test tests: Self test virt-admin 2016-09-14 13:18:07 +02:00
virtestmock.c virtestmock: Mock stat() properly 2016-05-20 17:16:21 +02:00
virtimetest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virtypedparamtest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
viruritest.c tests: Rename virtTestRun to virTestRun. 2016-06-08 11:23:12 -04:00
virusbmock.c
virusbtest.c testUSBList: don't leak @dev 2017-02-10 10:25:44 +01:00
vmwarevertest.c Rename virtTestLoadFile to virTestLoadFile. 2016-06-08 11:23:12 -04:00
vmx2xmltest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
xencapstest.c tests: Rename virtTestCompareToFile to virTestCompareToFile. 2016-06-08 11:23:12 -04:00
xlconfigtest.c tests: add xlconfig tests for <timer> configurations 2017-01-24 16:18:13 -07:00
xmconfigtest.c virDomainDefParse{File,String}: Introduce @parseOpaque argument 2016-09-26 16:50:12 +02:00
xml2sexprtest.c virDomainDefParse{File,String}: Introduce @parseOpaque argument 2016-09-26 16:50:12 +02:00
xml2vmxtest.c virDomainDefParse{File,String}: Introduce @parseOpaque argument 2016-09-26 16:50:12 +02:00