]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vmx2xmltest: Drop custom file name parse function
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 14 Nov 2025 09:35:14 +0000 (10:35 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Nov 2025 14:09:14 +0000 (15:09 +0100)
commitf82d30307da8bea396a32dcab2ba9be5c3236b7c
treeb8c5288699a5812c85b2868a633564b15b77186c
parent29ddffbe6c22a94054c33d04434330ed968f2cf8
vmx2xmltest: Drop custom file name parse function

Having a custom file name parsing function in vmx2xml that's
different to the one used in production (esxParseVMXFileName())
might have served us well, but it also defeats the point of
having a unit test. More specifically, if there's a bug in
esxParseVMXFileName() then our unit test would not catch it.

But now that we have vmx2xmlmock the custom parsing function can
be dropped and the test can use the real one.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
tests/meson.build
tests/vmx2xmltest.c