libvirt/tests
Peter Krempa fe12fb4132 conf: Store 'diskElementAuth' and 'diskElementEnc' properties in status XML
Remember the preferred placement of <auth> and <encryption> for a disk
source across libvirtd restarts.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-05-12 06:55:00 +02:00
..
bhyveargv2xmldata
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
commanddata util: keep the pidfile locked 2020-03-25 09:04:49 +01:00
cputestdata cpu_map: Distinguish Cascadelake-Server from Skylake-Server 2020-04-08 17:52:50 +02:00
domainbackupxml2xmlin backup: Allow 'encryption' of backups and scratch images 2020-04-14 18:49:41 +02:00
domainbackupxml2xmlout backup: Allow 'encryption' of backups and scratch images 2020-04-14 18:49:41 +02:00
domaincapsdata tests: Update capabilities for QEMU 5.0.0 on aarch64 2020-05-06 15:08:41 +02:00
domainconfdata
domainschemadata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
fchostdata/fc_host
genericxml2xmlindata conf: Add support for setting timeout and readahead size for network disks 2020-03-16 15:51:44 +01:00
genericxml2xmloutdata tests: fix typo in emulator arch name i686 -> i386 2019-12-13 17:52:10 +00:00
interfaceschemadata
libxlxml2domconfigdata tests: Fix the libxl xml2domconfig test 2020-05-07 17:38:41 -06:00
lxcconf2xmldata lxc: Fix wrong addresses statements for IPv{4, 6} in native network definitions 2020-02-06 15:00:57 +01:00
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata tests: Add tests for <lease/> to cover dnsmasq settings 2020-04-23 10:59:33 +02:00
networkxml2firewalldata
networkxml2xmlin tests: Add tests for <lease/> to cover dnsmasq settings 2020-04-23 10:59:33 +02:00
networkxml2xmlout tests: Add tests for <lease/> to cover dnsmasq settings 2020-04-23 10:59:33 +02:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata
nssdata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemublocktestdata tests: Tests for io mode io_uring 2020-04-24 09:17:06 +02:00
qemucapabilitiesdata qemu: capabilities: Introduce QEMU_CAPS_VIRTIO_BLK_SCSI_DEFAULT_DISABLED 2020-05-12 06:55:00 +02:00
qemucaps2xmloutdata conf: Refactor storage of guest capabilities 2019-11-13 08:16:04 +01:00
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemudomainsnapshotxml2xmlin
qemudomainsnapshotxml2xmlout tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
qemufirmwaredata
qemuhotplugtestcpus qemuhotplugtestcpus: Always use 'query-cpus-fast' 2020-03-05 11:31:38 +01:00
qemuhotplugtestdevices qemu: Create multipath targets for PRs 2020-03-12 08:04:40 +01:00
qemuhotplugtestdomains qemu: Create multipath targets for PRs 2020-03-12 08:04:40 +01:00
qemumemlockdata
qemumigparamsdata
qemumonitorjsondata tests: validate parsing of CPUs with dies > 1 2020-03-16 16:00:27 +00:00
qemustatusxml2xmldata conf: Store 'diskElementAuth' and 'diskElementEnc' properties in status XML 2020-05-12 06:55:00 +02:00
qemuvhostuserdata
qemuxml2argvdata qemu: Forbid non-raw images for disk type='lun' with vitio-blk frontend 2020-05-12 06:55:00 +02:00
qemuxml2xmloutdata qemu: Forbid non-raw images for disk type='lun' with vitio-blk frontend 2020-05-12 06:55:00 +02:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
storagepoolcapsschemadata storage: add vmfs filesystem type 2019-12-20 14:31:08 +01:00
storagepoolschemadata
storagepoolxml2argvdata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata
storagevolxml2argvdata
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata tests: add host CPU data files for validating die_id 2020-01-16 15:11:55 +00:00
vircgroupdata vircgroupmock: mock virCgroupV2DevicesAvailable 2019-11-15 12:58:43 +01:00
virconfdata src: switch from fnmatch to g_pattern_match_simple 2020-01-03 15:42:13 +00:00
virfilecachedata
virfiledata
virhostcpudata tests: add host CPU data files for validating die_id 2020-01-16 15:11:55 +00:00
virjsondata jsontest: Add test cases for deflattening of arrays 2020-03-20 09:47:16 +01:00
virmacmaptestdata
virnetdaemondata
virnetdevopenvswitchdata
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 vmx: make 'fileName' optional for CD-ROMs 2020-03-19 11:25:33 +01:00
xlconfigdata tests: check conversion of passthrough hypervisor feature 2020-04-21 09:22:14 -06:00
xmconfigdata
xml2vmxdata
.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 conf: drop virCapsPtr param from domain formatting APIs 2019-12-09 10:17:27 +00:00
bhyvexml2argvmock.c qemu/lxc: plumb isolatedPort from config down through bridge attachment 2020-02-20 23:13:15 -05:00
bhyvexml2argvtest.c bhyve: simplify driver caps helpers 2020-02-24 01:52:22 +01:00
bhyvexml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
commandhelper.c src: remove virFilePrintf in favour of g_fprintf 2020-02-04 14:00:45 +00:00
commandtest.c commandtest: Fix test28 error detection 2020-03-24 14:33:29 +01:00
cputest.c qemumonitortestutils: Enforce consumption of all items in test monitor 2020-04-27 08:30:27 +02:00
domaincapsmock.c
domaincapstest.c tests: Fix virQEMUDriverConfigNew() calling with respect to @root 2020-04-07 15:26:10 +02:00
domainconftest.c conf: drop virCapsPtr param from domain parse APIs 2019-12-09 10:17:27 +00:00
esxutilstest.c
eventtest.c tests: fix deadlock in eventtest 2020-02-06 13:41:03 +01:00
fchosttest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
fdstreamtest.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
file_access_whitelist.txt tests: rewrite file access checker in Python 2019-12-20 14:23:39 +00:00
genericxml2xmltest.c backup: Allow 'encryption' of backups and scratch images 2020-04-14 18:49:41 +02: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 libxl: Add support for max_event_channels 2020-04-09 15:45:05 -06: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
Makefile.am tests: Introduce virhostdevmock 2020-05-06 16:24:31 +02:00
metadatatest.c
networkxml2conftest.c networkxml2xmltest: Complete renaming of @actual 2020-04-23 12:38:01 +02:00
networkxml2firewalltest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
networkxml2xmltest.c tests: Add tests for <lease/> to cover dnsmasq settings 2020-04-23 10:59:33 +02:00
networkxml2xmlupdatetest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
nodedevxml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
nsslinktest.c
nssmock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
nsstest.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
nwfilterebiptablestest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
nwfilterxml2firewalltest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
nwfilterxml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01: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
pkix_asn1_tab.c
qemuagenttest.c qemumonitortestutils: Store a string identifying test monitor entry 2020-04-27 08:13:52 +02:00
qemublocktest.c conf: Sanitize handling of <auth> and <encryption> placement for disks 2020-05-12 06:55:00 +02:00
qemucapabilitiestest.c qemu: store the emulator name in the capabilities XML 2019-12-23 16:39:38 +00:00
qemucaps2xmlmock.c
qemucaps2xmltest.c Remove redundant usage of WITH_YAJL 2019-12-13 14:57:32 +01:00
qemucapsfixreplies
qemucapsprobe.c tests: Enable directory override for qemucapsprobe 2020-05-06 12:32:49 +02:00
qemucapsprobemock.c
qemucommandutiltest.c Remove redundant usage of WITH_YAJL 2019-12-13 14:57:32 +01:00
qemucpumock.c
qemudomaincheckpointxml2xmltest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
qemudomainsnapshotxml2xmltest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
qemufirmwaretest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
qemuhotplugmock.c mock: qemuDomainGetUnplugTimeout: Decrease timeout 2020-04-23 15:57:36 +02:00
qemuhotplugtest.c Revert "tests: Use qemu:///embed to simplify fakerootdir management" 2020-05-07 22:31:04 +02:00
qemumemlocktest.c Revert "tests: Use qemu:///embed to simplify fakerootdir management" 2020-05-07 22:31:04 +02:00
qemumigparamstest.c Remove redundant usage of WITH_YAJL 2019-12-13 14:57:32 +01:00
qemumonitorjsontest.c qemumonitortestutils: Enforce consumption of all items in test monitor 2020-04-27 08:30:27 +02:00
qemumonitortestutils.c qemumonitortestutils: Enforce consumption of all items in test monitor 2020-04-27 08:30:27 +02:00
qemumonitortestutils.h qemumonitortestutils: Enforce consumption of all items in test monitor 2020-04-27 08:30:27 +02:00
qemusecuritymock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
qemusecuritytest.c src: remove virFilePrintf in favour of g_fprintf 2020-02-04 14:00:45 +00:00
qemusecuritytest.h
qemuvhostusertest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
qemuxml2argvmock.c src: replace gmtime_r/localtime_r/strftime with GDateTime 2020-01-17 10:02:01 +00:00
qemuxml2argvtest.c tests: Add tests for a virtio and sd disk in a single machine 2020-05-12 06:55:00 +02:00
qemuxml2xmltest.c tests: Add tests for a virtio and sd disk in a single machine 2020-05-12 06:55:00 +02:00
scsihosttest.c Include unistd.h where used 2020-02-24 23:15:50 +01:00
seclabeltest.c
secretxml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
securityselinuxhelper.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
securityselinuxlabeltest.c tests: securityselinuxlabel: Add QEMU_CAPS_VNC to fake qemuCaps 2019-12-17 10:03:35 +01:00
securityselinuxtest.c
shunloadhelper.c
shunloadtest.c src: remove virFilePrintf in favour of g_fprintf 2020-02-04 14:00:45 +00:00
sockettest.c
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 tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
storagevolxml2argvtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
storagevolxml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
sysinfotest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
test-lib.sh
testutils.c tests: poison $HOME and $XDG_RUNTIME_DIR env variables 2020-05-07 13:39:52 +01:00
testutils.h testutils: remove now unused virTestCaptureProgramOutput 2020-02-11 16:30:18 +01:00
testutilshostcpus.h
testutilslxc.c conf: don't use passed in caps in post parse method 2019-12-09 10:15:16 +00:00
testutilslxc.h conf: don't use passed in caps in post parse method 2019-12-09 10:15:16 +00:00
testutilsqemu.c Revert "tests: Use qemu:///embed to simplify fakerootdir management" 2020-05-07 22:31:04 +02:00
testutilsqemu.h qemu: use host CPU object directly 2019-12-09 10:17:27 +00:00
testutilsqemuschema.c qemumonitorjsontest: load schema based on specified arch 2020-02-21 10:50:10 +01:00
testutilsqemuschema.h qemumonitorjsontest: load schema based on specified arch 2020-02-21 10:50:10 +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
vboxsnapshotxmltest.c Include unistd.h where used 2020-02-24 23:15:50 +01:00
viralloctest.c
virauthconfigtest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00:00
virbitmaptest.c virBitmapNewEmpty: Use g_new0 to allocate and remove error checking 2020-03-20 09:47:16 +01:00
virbuftest.c virBufferTrim: do not accept len 2020-02-03 19:44:38 +01: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 src: assume sys/sysmacros.h always exists on Linux 2020-02-04 14:00:45 +00:00
vircgrouptest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
virconftest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
vircryptotest.c
virdbusmock.c
virdbustest.c
virdeterministichashmock.c
virdriverconnvalidatetest.c
virdrivermoduletest.c
virendiantest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
virerrortest.c
virfilecachemock.c
virfilecachetest.c
virfilemock.c util: use realpath/g_canonicalize_filename 2020-01-03 15:42:13 +00:00
virfiletest.c Include unistd.h where used 2020-02-24 23:15:50 +01:00
virfilewrapper.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virfilewrapper.h
virfirewalltest.c
virhashdata.h
virhashtest.c tests: hash: Test case for adding duplicate hash entry 2020-01-24 13:45:38 +01:00
virhostcpumock.c
virhostcputest.c util: virhostcpu: Fail when fetching CPU Stats for invalid cpu 2020-03-24 11:31:07 +01:00
virhostdevmock.c tests: Introduce virhostdevmock 2020-05-06 16:24:31 +02:00
virhostdevtest.c tests: Introduce virhostdevmock 2020-05-06 16:24:31 +02:00
viridentitytest.c
viriscsitest.c
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
virlockspacetest.c src: add virutil.h to more source files for geteuid() compat 2020-02-25 10:02:15 +00:00
virlogtest.c
virmacmaptest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
virmock.h
virmockstathelpers.c
virnetdaemonmock.c
virnetdaemontest.c tests: switch away from HAVE_SOCKETPAIR 2020-03-19 14:39:38 +01:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c
virnetdevmock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virnetdevopenvswitchtest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virnetdevtest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
virnetmessagetest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00:00
virnetserverclientmock.c
virnetserverclienttest.c tests: switch away from HAVE_SOCKETPAIR 2020-03-19 14:39:38 +01:00
virnetsockettest.c tests: include unistd.h instead of virutil.h 2020-02-24 23:15:49 +01:00
virnettlscontexttest.c tests: include unistd.h instead of virutil.h 2020-02-24 23:15:49 +01:00
virnettlshelpers.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
virnettlshelpers.h
virnettlssessiontest.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virnetworkportxml2xmltest.c tests: fix missing test data for network port XML 2020-02-25 15:43:56 +00:00
virnumamock.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virnwfilterbindingxml2xmltest.c tests: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:59 +01:00
virpcimock.c src: replace last_component() with g_path_get_basename() 2020-01-03 15:42:13 +00:00
virpcitest.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
virpolkittest.c tests: remove unneeded cleanup labels 2019-11-19 15:22:43 +01:00
virportallocatormock.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virportallocatortest.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virprocessmock.c
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
virschematest.c tests: genericxml2xml: Add testing of backup XML files 2019-12-10 12:41:56 +01: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
virsh-cpuset
virsh-define-dev-segfault tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
virsh-int-overflow
virsh-optparse
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
virsh-self-test
virsh-snapshot
virsh-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c virshtest: use virCommand instead of custom impl 2020-02-11 16:30:18 +01:00
virstoragetest.c conf: Sanitize handling of <auth> and <encryption> placement for disks 2020-05-12 06:55:00 +02:00
virstorageutiltest.c
virstringtest.c gnulib: delete all gnulib integration 2020-02-07 15:03:54 +00:00
virsystemdtest.c conf: Move virDomainGenerateMachineName to hypervisor/ 2020-04-07 15:26:19 +02:00
virt-aa-helper-test virt-aa-helper: testcase for shmem devices 2019-11-21 08:27:03 +01:00
virt-admin-self-test
virtestmock.c src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virtimetest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00:00
virtypedparamtest.c
viruritest.c tests: conditionalize use of SIGPIPE 2020-01-29 14:51:40 +00: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: make 'fileName' optional for CD-ROMs 2020-03-19 11:25:33 +01:00
vshtabletest.c src: optionally include xlocale.h header 2020-02-04 14:00:45 +00:00
xlconfigtest.c tests: check conversion of passthrough hypervisor feature 2020-04-21 09:22:14 -06:00
xmconfigtest.c xen: Remove unused 'cfg' 2019-12-09 14:06:15 +01:00
xml2vmxtest.c conf: drop virCapsPtr param from domain parse APIs 2019-12-09 10:17:27 +00:00