]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vmx2xmltest: Deduplicate DO_TEST*() arguments
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 18 Aug 2021 12:30:33 +0000 (14:30 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 19 Aug 2021 11:27:59 +0000 (13:27 +0200)
commitc0748ac870cce77bb4e03c7ae23200f4a6d1ba27
tree84e6e7fffae5863db210624c0042a3c458338fac
parent6234eebbf655890015f2ef9ec6de4251301c4395
vmx2xmltest: Deduplicate DO_TEST*() arguments

In majority of DO_TEST() and DO_TEST_FAIL() calls the input vmx
file name is the same as the output XML file. Therefore, it's not
necessary to provide the same string twice. For the rest, where
the output XML file is different we can use symlinks to the
expected output.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
tests/vmx2xmldata/vmx2xml-cdrom-ide-file-missing-datastore.xml [new symlink]
tests/vmx2xmldata/vmx2xml-cdrom-ide-file-missing-file.xml [new symlink]
tests/vmx2xmldata/vmx2xml-serial-pipe-client-app.xml [new symlink]
tests/vmx2xmldata/vmx2xml-serial-pipe-server-vm.xml [new symlink]
tests/vmx2xmltest.c