[PATCH] networkxml2xmltest: Complete renaming of @actual

Michal Privoznik posted 1 patch 3 years, 11 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/8589ecc69f4c72938b2789512e4203f22b3e21f8.1587638305.git.mprivozn@redhat.com
tests/networkxml2conftest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] networkxml2xmltest: Complete renaming of @actual
Posted by Michal Privoznik 3 years, 11 months ago
In 97a0aa2467 the @actual variable was renamed to @confactual.
However, the commit missed non-Linux case resulting in a broken
build.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---

Pushed under trivial and build-breaker rules.

 tests/networkxml2conftest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/networkxml2conftest.c b/tests/networkxml2conftest.c
index 5d0bba7924..b35de50f0b 100644
--- a/tests/networkxml2conftest.c
+++ b/tests/networkxml2conftest.c
@@ -58,7 +58,7 @@ testCompareXMLToConfFiles(const char *inxml, const char *outconf,
                                  "except-interface=lo\n")))
         goto fail;
     VIR_FREE(confactual);
-    actual = g_steal_pointer(&tmp);
+    confactual = g_steal_pointer(&tmp);
 #endif
 
     if (virTestCompareToFile(confactual, outconf) < 0)
-- 
2.26.2