From: Martin Kletzander Date: Wed, 28 Dec 2016 20:21:03 +0000 (+0100) Subject: networkxml2conftest: Rename outxml to outconf X-Git-Tag: v3.0.0-rc1~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8388b1c8268d1d8141f85c7b42649f87056d7fa7;p=thirdparty%2Flibvirt.git 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 --- diff --git a/tests/networkxml2conftest.c b/tests/networkxml2conftest.c index 7a976f42d8..9b6107707c 100644 --- a/tests/networkxml2conftest.c +++ b/tests/networkxml2conftest.c @@ -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; }