[PATCH v2 12/19] tests: Rename virtTestDifferenceFullNoRegenerate.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This function doesn't follow our convention of naming functions.
---
 tests/qemuxml2xmltest.c |  6 +++---
 tests/testutils.c       | 16 ++++++++--------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index 7b01587..ebf5a99 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -159,9 +159,9 @@ testCompareStatusXMLToXMLFiles(const void *opaque)
     if (STRNEQ(actual, expect)) {
         /* For status test we don't want to regenerate output to not
          * add the status data.*/
-        virtTestDifferenceFullNoRegenerate(stderr,
-                                           expect, data->outActiveName,
-                                           actual, data->inName);
+        virTestDifferenceFullNoRegenerate(stderr,
+                                          expect, data->outActiveName,
+                                          actual, data->inName);
         goto cleanup;
     }
 
diff --git a/tests/testutils.c b/tests/testutils.c
index 8a867a1..79981fe 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -588,11 +588,11 @@ virTestDifferenceFull(FILE *stream,
  * regenerate the expected file.
  */
 int
-virtTestDifferenceFullNoRegenerate(FILE *stream,
-                                   const char *expect,
-                                   const char *expectName,
-                                   const char *actual,
-                                   const char *actualName)
+virTestDifferenceFullNoRegenerate(FILE *stream,
+                                  const char *expect,
+                                  const char *expectName,
+                                  const char *actual,
+                                  const char *actualName)
 {
     return virtTestDifferenceFullInternal(stream, expect, expectName,
                                           actual, actualName, false);
@@ -611,9 +611,9 @@ virTestDifference(FILE *stream,
                   const char *expect,
                   const char *actual)
 {
-    return virtTestDifferenceFullNoRegenerate(stream,
-                                              expect, NULL,
-                                              actual, NULL);
+    return virTestDifferenceFullNoRegenerate(stream,
+                                             expect, NULL,
+                                             actual, NULL);
 }
 
 
-- 
2.5.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]