提交 2e02f2b2 编写于 作者: M Michal Privoznik

tests: Drop qemuxml2argv- prefix for qemuxml2argv-*.xml test cases

These XMLs live in a separate directory, there's no need for them
to have a special prefix in addition. It also doesn't play nicely
with ':e' completion in Vim, finding proper file based on
qemuxml2argvtest.c is also needlessly complicated.

The files were renamed using the following commands. From
qemuxml2argvdata:

  for i in qemuxml2argv-*.xml; do mv $i ${i#qemuxml2argv-}; done

and then (to fix broken symlinks) from qemuxml2argvdata and
qemuxml2xmloutdata:

  for i in $(find . -xtype l); do \
      ln -sf $(readlink $i | sed 's/qemuxml2argv-//') $i;
  done
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 c18c83a8
aarch64-gic-none.xml
\ No newline at end of file
aarch64-gic-none.xml
\ No newline at end of file
aarch64-gic-none-v2.xml
\ No newline at end of file
ppc64-usb-controller.xml
\ No newline at end of file
ppc64-usb-controller.xml
\ No newline at end of file
q35-pcie.xml
\ No newline at end of file
qemuxml2argv-aarch64-gic-none.xml
\ No newline at end of file
qemuxml2argv-aarch64-gic-none.xml
\ No newline at end of file
qemuxml2argv-aarch64-gic-none-v2.xml
\ No newline at end of file
qemuxml2argv-ppc64-usb-controller.xml
\ No newline at end of file
qemuxml2argv-ppc64-usb-controller.xml
\ No newline at end of file
qemuxml2argv-q35-pcie.xml
\ No newline at end of file
qemuxml2argv-usb-controller-default-q35.xml
\ No newline at end of file
qemuxml2argv-usb-controller-explicit-q35.xml
\ No newline at end of file
qemuxml2argv-usb-controller-qemu-xhci.xml
\ No newline at end of file
usb-controller-default-q35.xml
\ No newline at end of file
usb-controller-explicit-q35.xml
\ No newline at end of file
usb-controller-qemu-xhci.xml
\ No newline at end of file
......@@ -437,7 +437,7 @@ testCompareXMLToArgv(const void *data)
if (qemuTestCapsCacheInsert(driver.qemuCapsCache, info->qemuCaps) < 0)
goto cleanup;
if (virAsprintf(&xml, "%s/qemuxml2argvdata/qemuxml2argv-%s.xml",
if (virAsprintf(&xml, "%s/qemuxml2argvdata/%s.xml",
abs_srcdir, info->name) < 0 ||
virAsprintf(&args, "%s/qemuxml2argvdata/qemuxml2argv-%s.args",
abs_srcdir, info->name) < 0)
......
../qemuxml2argvdata/qemuxml2argv-aarch64-gic-v2.xml
\ No newline at end of file
../qemuxml2argvdata/aarch64-gic-v2.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-aarch64-gic-host.xml
\ No newline at end of file
../qemuxml2argvdata/aarch64-gic-host.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-aarch64-gic-v3.xml
\ No newline at end of file
../qemuxml2argvdata/aarch64-gic-v3.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-aarch64-gic-v2.xml
\ No newline at end of file
../qemuxml2argvdata/aarch64-gic-v2.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-aarch64-gic-v3.xml
\ No newline at end of file
../qemuxml2argvdata/aarch64-gic-v3.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-aarch64-gic-v2.xml
\ No newline at end of file
../qemuxml2argvdata/aarch64-gic-v2.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-aarch64-gic-v2.xml
\ No newline at end of file
../qemuxml2argvdata/aarch64-gic-v2.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-aarch64-gic-v3.xml
\ No newline at end of file
../qemuxml2argvdata/aarch64-gic-v3.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-blkdeviotune-group-num.xml
\ No newline at end of file
../qemuxml2argvdata/blkdeviotune-group-num.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-blkdeviotune-max-length.xml
\ No newline at end of file
../qemuxml2argvdata/blkdeviotune-max-length.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-blkdeviotune-max.xml
\ No newline at end of file
../qemuxml2argvdata/blkdeviotune-max.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-disk-drive-detect-zeroes.xml
\ No newline at end of file
../qemuxml2argvdata/disk-drive-detect-zeroes.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-encrypted-disk-usage.xml
\ No newline at end of file
../qemuxml2argvdata/encrypted-disk-usage.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-hostdev-scsi-vhost-scsi-ccw.xml
\ No newline at end of file
../qemuxml2argvdata/hostdev-scsi-vhost-scsi-ccw.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-hostdev-scsi-vhost-scsi-pci.xml
\ No newline at end of file
../qemuxml2argvdata/hostdev-scsi-vhost-scsi-pci.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-hugepages-memaccess.xml
\ No newline at end of file
../qemuxml2argvdata/hugepages-memaccess.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-hugepages-memaccess2.xml
\ No newline at end of file
../qemuxml2argvdata/hugepages-memaccess2.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-hugepages-pages4.xml
\ No newline at end of file
../qemuxml2argvdata/hugepages-pages4.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-hugepages-pages5.xml
\ No newline at end of file
../qemuxml2argvdata/hugepages-pages5.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-hugepages-pages6.xml
\ No newline at end of file
../qemuxml2argvdata/hugepages-pages6.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-hugepages-pages7.xml
\ No newline at end of file
../qemuxml2argvdata/hugepages-pages7.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-intel-iommu-caching-mode.xml
\ No newline at end of file
../qemuxml2argvdata/intel-iommu-caching-mode.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-intel-iommu-device-iotlb.xml
\ No newline at end of file
../qemuxml2argvdata/intel-iommu-device-iotlb.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-intel-iommu-eim.xml
\ No newline at end of file
../qemuxml2argvdata/intel-iommu-eim.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-memory-hotplug-nvdimm-access.xml
\ No newline at end of file
../qemuxml2argvdata/memory-hotplug-nvdimm-access.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-memory-hotplug-nvdimm-label.xml
\ No newline at end of file
../qemuxml2argvdata/memory-hotplug-nvdimm-label.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-memory-hotplug-nvdimm.xml
\ No newline at end of file
../qemuxml2argvdata/memory-hotplug-nvdimm.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-net-user-addr.xml
\ No newline at end of file
../qemuxml2argvdata/net-user-addr.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-serial-tcp-tlsx509-chardev-notls.xml
\ No newline at end of file
../qemuxml2argvdata/serial-tcp-tlsx509-chardev-notls.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-user-aliases.xml
\ No newline at end of file
../qemuxml2argvdata/user-aliases.xml
\ No newline at end of file
../qemuxml2argvdata/qemuxml2argv-virtio-options.xml
\ No newline at end of file
../qemuxml2argvdata/virtio-options.xml
\ No newline at end of file
......@@ -306,7 +306,7 @@ testInfoSet(struct testInfo *info,
if (qemuTestCapsCacheInsert(driver.qemuCapsCache, info->qemuCaps) < 0)
goto error;
if (virAsprintf(&info->inName, "%s/qemuxml2argvdata/qemuxml2argv-%s.xml",
if (virAsprintf(&info->inName, "%s/qemuxml2argvdata/%s.xml",
abs_srcdir, name) < 0)
goto error;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册