diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2021-08-18 14:35:57 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2021-08-19 13:28:03 +0200 |
commit | d0803385947b6032e086d05a3d9606d91a224eef (patch) | |
tree | c679374d7b0189880b6b9eb7740471c6768f8beb /tests/vmx2xmltest.c | |
parent | c0748ac870cce77bb4e03c7ae23200f4a6d1ba27 (diff) | |
download | libvirt-d0803385947b6032e086d05a3d9606d91a224eef.tar.gz |
tests: Drop vmx2xml- prefix for vmx2xml test cases
These XMLs live in a separate directory, there's no need for them
to have a special prefix in addition. Dinding proper file based on
vmx2xmltest.c is also needlessly complicated.
The steps used for mass rename are similar to v4.0.0-rc1~186.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Diffstat (limited to 'tests/vmx2xmltest.c')
-rw-r--r-- | tests/vmx2xmltest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/vmx2xmltest.c b/tests/vmx2xmltest.c index 9f7f50b42d..c97c4c045e 100644 --- a/tests/vmx2xmltest.c +++ b/tests/vmx2xmltest.c @@ -122,9 +122,9 @@ testCompareHelper(const void *data) char *vmx = NULL; char *xml = NULL; - vmx = g_strdup_printf("%s/vmx2xmldata/vmx2xml-%s.vmx", abs_srcdir, + vmx = g_strdup_printf("%s/vmx2xmldata/%s.vmx", abs_srcdir, info->file); - xml = g_strdup_printf("%s/vmx2xmldata/vmx2xml-%s.xml", abs_srcdir, + xml = g_strdup_printf("%s/vmx2xmldata/%s.xml", abs_srcdir, info->file); ret = testCompareFiles(vmx, xml, info->should_fail); |