mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
networkxml2conftest: Rename outxml to outconf
Just a name, I know, but it bothered me a lot since it does not refer to XML. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
6e0a1663bd
commit
8388b1c826
@ -82,20 +82,20 @@ testCompareXMLToConfHelper(const void *data)
|
||||
int result = -1;
|
||||
const testInfo *info = data;
|
||||
char *inxml = NULL;
|
||||
char *outxml = NULL;
|
||||
char *outconf = NULL;
|
||||
|
||||
if (virAsprintf(&inxml, "%s/networkxml2confdata/%s.xml",
|
||||
abs_srcdir, info->name) < 0 ||
|
||||
virAsprintf(&outxml, "%s/networkxml2confdata/%s.conf",
|
||||
virAsprintf(&outconf, "%s/networkxml2confdata/%s.conf",
|
||||
abs_srcdir, info->name) < 0) {
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
result = testCompareXMLToConfFiles(inxml, outxml, info->caps);
|
||||
result = testCompareXMLToConfFiles(inxml, outconf, info->caps);
|
||||
|
||||
cleanup:
|
||||
VIR_FREE(inxml);
|
||||
VIR_FREE(outxml);
|
||||
VIR_FREE(outconf);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user