libvirt/tests
Daniel P. Berrangé 392292cd99 tests: don't use auto-generated NVRAM path in tests
By using the auto-generated NVRAM path in test data files, we won't see
bugs where a user specified path gets accidentally overwritten by a
post-parse callback, or VM startup. For example, this caused us to miss
the bug fixed by:

  commit 24adb6c7a6
  Author: Michal Prívozník <mprivozn@redhat.com>
  Date:   Wed Feb 23 08:50:44 2022 +0100

    qemu: Don't regenerate NVRAM path if parsed from domain XML

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-02-23 18:08:49 +00:00
..
bhyveargv2xmldata
bhyvefirmwaredata
bhyvexml2argvdata
bhyvexml2xmloutdata
capabilityschemadata
commanddata
cputestdata cpu-data.py: Query hyperv enlightenments 2022-01-28 10:55:03 +01:00
domainbackupxml2xmlin
domainbackupxml2xmlout
domaincapsdata tests: Drop domcaps test data for qemu < 2.11 2022-02-15 16:33:45 +01:00
domainconfdata
domainschemadata
fchostdata/fc_host
genericxml2xmlindata
genericxml2xmloutdata
interfaceschemadata
libxlxml2domconfigdata
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata tests: do not test dnsmasq older than 2.67 2021-12-15 15:28:17 +01:00
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevmdevctldata nodedev: add parent_addr to mdev nodedev dumpxml 2022-02-04 17:50:57 +01:00
nodedevschemadata tests: adding vfio-ccw to nodedev tests 2022-02-04 17:50:53 +01:00
nodedevxml2xmlout
nssdata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemublocktestdata
qemucapabilitiesdata qemu_capabilities: Introduce QEMU_CAPS_DIRTYRATE_MODE capability 2022-02-21 13:34:16 +01:00
qemucaps2xmloutdata
qemudomaincheckpointxml2xmlin
qemudomaincheckpointxml2xmlout
qemudomainsnapshotxml2xmlin
qemudomainsnapshotxml2xmlout
qemufirmwaredata
qemuhotplugtestcpus
qemuhotplugtestdevices
qemuhotplugtestdomains Add the port allocation logic for isa-serial devices. 2022-01-14 15:41:57 +01:00
qemumemlockdata
qemumigparamsdata
qemumigrationcookiexmldata
qemumonitorjsondata
qemusecuritydata
qemustatusxml2xmldata
qemuvhostuserdata
qemuxml2argvdata tests: don't use auto-generated NVRAM path in tests 2022-02-23 18:08:49 +00:00
qemuxml2xmloutdata tests: don't use auto-generated NVRAM path in tests 2022-02-23 18:08:49 +00:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata securityselinuxlabeldata: Purge unneeded versioned machine type 2022-01-07 09:25:14 +01:00
storagepoolcapsschemadata
storagepoolschemadata
storagepoolxml2argvdata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata
storagevolxml2argvdata storage: Introduce 'extended_l2' feature for storage volume 2021-12-21 13:23:09 +01:00
storagevolxml2xmlin storage: Introduce 'extended_l2' feature for storage volume 2021-12-21 13:23:09 +01:00
storagevolxml2xmlout storage: Introduce 'extended_l2' feature for storage volume 2021-12-21 13:23:09 +01:00
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata
vircgroupdata
virconfdata Add suggestions for virt-pki-query-dn usage 2021-11-12 12:37:29 +01:00
virfilecachedata
virfiledata
virhostcpudata
virjsondata
virmacmaptestdata
virnetdaemondata
virnetdevopenvswitchdata
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata
virnwfilterbindingxml2xmldata
virpcitestdata
virprocessstatdata util: Add virProcessGetStat 2021-11-23 16:43:08 +01:00
virresctrldata
virscsidata
virstoragetestdata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata
xlconfigdata
xmconfigdata
xml2vmxdata
.valgrind.supp
bhyveargv2xmlmock.c
bhyveargv2xmltest.c
bhyvexml2argvmock.c
bhyvexml2argvtest.c
bhyvexml2xmltest.c
commandhelper.c
commandtest.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
cputest.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
domaincapsmock.c
domaincapstest.c tests: Remove 'qemucapsfixreplies' 2022-01-03 13:14:43 +01:00
domainconftest.c lib: Drop needless one line labels 2021-11-22 12:39:59 +01:00
esxutilstest.c
eventtest.c
fchosttest.c
fdstreamtest.c
genericxml2xmltest.c
interfacexml2xmltest.c
libvirtd-fail
libvirtd-pool
libxlmock.c
libxlxml2domconfigtest.c
lxcconf2xmltest.c
lxcxml2xmltest.c
meson.build virdnsmasq: Lookup DNSMASQ in PATH 2022-01-18 15:19:47 +01:00
metadatatest.c
networkxml2conftest.c networkxml2conftest: Check if capabilities were created successfully 2022-01-18 16:18:54 +01:00
networkxml2firewalltest.c util: remove currentBackend from virfirewall.c 2021-12-13 13:37:31 -05:00
networkxml2xmltest.c
networkxml2xmlupdatetest.c
nodedevmdevctltest.c tests: adding vfio-ccw to nodedev tests 2022-02-04 17:50:53 +01:00
nodedevxml2xmltest.c
nsslinktest.c
nssmock.c
nsstest.c
nwfilterebiptablestest.c util: remove currentBackend from virfirewall.c 2021-12-13 13:37:31 -05:00
nwfilterxml2firewalltest.c util: remove currentBackend from virfirewall.c 2021-12-13 13:37:31 -05:00
nwfilterxml2xmltest.c
objecteventtest.c
openvzutilstest.c
openvzutilstest.conf
permitted_file_access.txt
pkix_asn1_tab.c
qemuagenttest.c tests: Drop cleanup/error labels 2021-11-11 16:16:30 +01:00
qemublocktest.c qemublocktest: Replace virJSONValueObjectCreate by virJSONValueObjectAdd 2021-11-17 12:04:11 +01:00
qemucapabilitiesnumbering.c Fix some typos 2022-01-12 11:43:30 +01:00
qemucapabilitiestest.c Fix some typos 2022-01-12 11:43:30 +01:00
qemucaps2xmlmock.c
qemucaps2xmltest.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
qemucapsprobe.c qemu: Invalidate capabilities cache on host cpuid mismatch 2021-11-05 17:12:25 +01:00
qemucapsprobemock.c qemu: Make 'struct _qemuMonitorMessage' private 2022-02-15 09:32:23 +01:00
qemucommandutiltest.c
qemucpumock.c
qemudomaincheckpointxml2xmltest.c
qemudomainsnapshotxml2xmltest.c
qemufirmwaretest.c
qemuhotplugmock.c qemuhotplugmock: Mock fd passing to qemu via 'SCM_RIGHTS' 2022-02-15 09:32:23 +01:00
qemuhotplugtest.c qemuhotplugtest: Assume QEMU_CAPS_CHARDEV_FD_PASS_COMMANDLINE 2022-02-15 09:32:23 +01:00
qemumemlocktest.c
qemumigparamstest.c tests: Drop cleanup/error labels 2021-11-11 16:16:30 +01:00
qemumigrationcookiexmltest.c
qemumonitorjsontest.c qemuMonitorJSONTestAttachChardev: Add tests for FD passing of file backend 2022-02-14 13:14:00 +01:00
qemumonitortestutils.c qemumonitortestutils: Use automatic mutex management 2022-02-11 16:03:35 +01:00
qemumonitortestutils.h qemumonitortestutils: Extract parser for the monitor conversation dump file 2022-01-03 13:14:43 +01:00
qemusecuritymock.c qemusecuritymock: Use automatic mutex management 2022-02-11 16:03:32 +01:00
qemusecuritytest.c qemuxml2argvtest: Remove redundant floppy controller tests 2022-01-07 09:25:13 +01:00
qemusecuritytest.h
qemustatusxml2xmltest.c
qemuvhostusertest.c
qemuxml2argvmock.c qemuBuildTPMOpenBackendFDs: Construct 'cancel_path' internally 2022-02-14 13:14:00 +01:00
qemuxml2argvtest.c qemu: Don't ignore failure when building default memory backend 2022-02-22 17:26:19 +01:00
qemuxml2xmltest.c qemuxml2xmltest: Remove unnecessary versioned invocation of 'disk-cache' 2022-02-14 09:45:28 +01:00
scsihosttest.c
seclabeltest.c
secretxml2xmltest.c
securityselinuxhelper.c
securityselinuxlabeltest.c tests: refactor testSELinuxLoadDef 2022-01-31 20:37:48 +01:00
securityselinuxtest.c lib: Use g_autoptr() for virDomainDef 2021-12-03 17:18:26 +01: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
ssh.c
storagebackendsheepdogtest.c
storagepoolcapstest.c
storagepoolxml2argvtest.c
storagepoolxml2xmltest.c
storagevolxml2argvtest.c tests: storagevolxml2argvtest: do not reuse cmd 2021-12-14 16:41:06 +01:00
storagevolxml2xmltest.c
sysinfotest.c
test-lib.sh
testutils.c testutils: Terminate usage string with a new line 2022-01-17 16:53:21 +01:00
testutils.h
testutilshostcpus.h
testutilslxc.c testLXCCapsInit: Cleanup 2021-11-08 14:32:32 +01:00
testutilslxc.h
testutilsqemu.c tests: Move testPrepareHostBackendChardevOne into test utils 2022-02-14 13:14:00 +01:00
testutilsqemu.h tests: Move testPrepareHostBackendChardevOne into test utils 2022-02-14 13:14:00 +01:00
testutilsqemuschema.c
testutilsqemuschema.h
testutilsxen.c Use g_auto for stealing virCaps 2021-12-13 14:44:01 +01:00
testutilsxen.h
utiltest.c virParseVersionString: rename to virStringParseVersion 2022-02-03 14:10:03 +01:00
vboxsnapshotxmltest.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
viralloctest.c
virauthconfigtest.c
virbitmaptest.c virBitmapSetBitExpand: Remove return value 2021-12-10 16:36:25 +01:00
virbuftest.c virbuftest: Increase coverage 2022-02-14 11:31:56 +01:00
vircaps2xmltest.c
vircapstest.c testutilsqemu: Remove unused non-x86 fake machine types 2022-01-07 09:25:13 +01:00
vircgroupmock.c syntax-check: sc_avoid_write: Don't use blanket file exceptions 2022-02-15 09:32:23 +01:00
vircgrouptest.c
virconftest.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
vircryptotest.c
virdnsmasqmock.c virdnsmasq: Lookup DNSMASQ in PATH 2022-01-18 15:19:47 +01:00
virdriverconnvalidatetest.c
virdrivermoduletest.c
virendiantest.c
virerrortest.c
virfilecachemock.c
virfilecachetest.c
virfilemock.c
virfiletest.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
virfilewrapper.c
virfilewrapper.h
virfirewallmock.c
virfirewalltest.c util: remove currentBackend from virfirewall.c 2021-12-13 13:37:31 -05:00
virgdbusmock.c
virhostcpumock.c
virhostcputest.c
virhostdevmock.c
virhostdevtest.c
virhostidmock.c
viridentitytest.c
viriscsitest.c
virjsontest.c util: json: Don't copy string in virJSONValueNewString 2021-12-22 13:48:35 +01:00
virkeycodetest.c
virkmodtest.c
virlockspacetest.c
virlogtest.c
virmacmaptest.c
virmigtest.c
virmock.h
virmockstathelpers.c
virnetdaemonmock.c
virnetdaemontest.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c
virnetdevmock.c
virnetdevopenvswitchtest.c
virnetdevtest.c Ignore EPERM on implicit clearing of VF VLAN ID 2022-02-03 16:52:05 +01:00
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c
virnetsockettest.c virnetsockettest: Increase coverage 2022-02-14 11:32:24 +01:00
virnettlscontexttest.c
virnettlshelpers.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
virnettlshelpers.h
virnettlssessiontest.c syntax-check: sc_avoid_write: Don't use blanket file exceptions 2022-02-15 09:32:23 +01:00
virnetworkportxml2xmltest.c
virnumamock.c virnumamock: Use automatic memory freeing for virBitmap 2021-12-10 16:36:24 +01:00
virnwfilterbindingxml2xmltest.c
virpcimock.c
virpcitest.c
virpcivpdtest.c tests: Fix fd leaks in virpcivpdtest 2022-02-11 15:06:19 +01:00
virpolkittest.c
virportallocatormock.c
virportallocatortest.c
virprocessmock.c
virprocessstattest.c util: Add virProcessGetStat 2021-11-23 16:43:08 +01:00
virrandommock.c
virresctrltest.c
virrotatingfiletest.c
virschematest.c
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 test: snapshot revert: properly emulate starting CPUs 2021-11-23 11:41:55 +01:00
virsh-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c
virstoragetest.c
virstorageutiltest.c
virstringtest.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
virsystemdtest.c virsystemdtest: remove unused 'demo_socket_path' 2022-02-17 14:17:04 +01:00
virt-aa-helper-test
virt-admin-self-test
virtestmock.c
virtimetest.c tests: virtimetest: Mention GLib version containing fix 2022-01-03 09:39:35 +01:00
virtypedparamtest.c lib: Don't set variable to NULL after VIR_FREE() 2022-02-01 17:37:06 +01:00
viruritest.c
virusbmock.c
virusbtest.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
vmwarevertest.c
vmx2xmltest.c
vshtabletest.c vsh-table: Ensure NULL terminated arguments to vshTable*() 2021-12-17 15:05:58 +01:00
xlconfigtest.c
xmconfigtest.c
xml2vmxtest.c