]> xenbits.xensource.com Git - libvirt.git/commitdiff
networkxml2conftest: Rename outxml to outconf
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 28 Dec 2016 20:21:03 +0000 (21:21 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 4 Jan 2017 14:10:06 +0000 (15:10 +0100)
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>
tests/networkxml2conftest.c

index 7a976f42d8755d4dcf33ae82af5a2eee01f026ce..9b6107707cefd6279394c612228d0ac968707adf 100644 (file)
@@ -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;
 }