提交 8388b1c8 编写于 作者: M Martin Kletzander

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: NMartin Kletzander <mkletzan@redhat.com>
上级 6e0a1663
...@@ -82,20 +82,20 @@ testCompareXMLToConfHelper(const void *data) ...@@ -82,20 +82,20 @@ testCompareXMLToConfHelper(const void *data)
int result = -1; int result = -1;
const testInfo *info = data; const testInfo *info = data;
char *inxml = NULL; char *inxml = NULL;
char *outxml = NULL; char *outconf = NULL;
if (virAsprintf(&inxml, "%s/networkxml2confdata/%s.xml", if (virAsprintf(&inxml, "%s/networkxml2confdata/%s.xml",
abs_srcdir, info->name) < 0 || abs_srcdir, info->name) < 0 ||
virAsprintf(&outxml, "%s/networkxml2confdata/%s.conf", virAsprintf(&outconf, "%s/networkxml2confdata/%s.conf",
abs_srcdir, info->name) < 0) { abs_srcdir, info->name) < 0) {
goto cleanup; goto cleanup;
} }
result = testCompareXMLToConfFiles(inxml, outxml, info->caps); result = testCompareXMLToConfFiles(inxml, outconf, info->caps);
cleanup: cleanup:
VIR_FREE(inxml); VIR_FREE(inxml);
VIR_FREE(outxml); VIR_FREE(outconf);
return result; return result;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册