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

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



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

diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index 7b01587..6bbf402 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -159,7 +159,7 @@ 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,
+        virTestDifferenceFullNoRegenerate(stderr,
                                            expect, data->outActiveName,
                                            actual, data->inName);
         goto cleanup;
diff --git a/tests/testutils.c b/tests/testutils.c
index e5e6a62..9ebd94a 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -588,7 +588,7 @@ virTestDifferenceFull(FILE *stream,
  * regenerate the expected file.
  */
 int
-virtTestDifferenceFullNoRegenerate(FILE *stream,
+virTestDifferenceFullNoRegenerate(FILE *stream,
                                    const char *expect,
                                    const char *expectName,
                                    const char *actual,
@@ -611,7 +611,7 @@ virTestDifference(FILE *stream,
                    const char *expect,
                    const char *actual)
 {
-    return virtTestDifferenceFullNoRegenerate(stream,
+    return virTestDifferenceFullNoRegenerate(stream,
                                               expect, NULL,
                                               actual, NULL);
 }
diff --git a/tests/testutils.h b/tests/testutils.h
index 1df964e..422270f 100644
--- a/tests/testutils.h
+++ b/tests/testutils.h
@@ -64,7 +64,7 @@ int virTestDifferenceFull(FILE *stream,
                            const char *expectName,
                            const char *actual,
                            const char *actualName);
-int virtTestDifferenceFullNoRegenerate(FILE *stream,
+int virTestDifferenceFullNoRegenerate(FILE *stream,
                                        const char *expect,
                                        const char *expectName,
                                        const char *actual,
-- 
2.5.5


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