[PATCH v2 11/19] tests: Rename virtTestQuiesceLibvirtErrors to virTestQuiesceLibvirtErrors.

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

 



This function doesn't follow our convention of naming functions.
---
 tests/esxutilstest.c    | 2 +-
 tests/metadatatest.c    | 2 +-
 tests/objecteventtest.c | 2 +-
 tests/sockettest.c      | 2 +-
 tests/testutils.c       | 2 +-
 tests/testutils.h       | 2 +-
 tests/utiltest.c        | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/esxutilstest.c b/tests/esxutilstest.c
index ab7f583..e9c8d31 100644
--- a/tests/esxutilstest.c
+++ b/tests/esxutilstest.c
@@ -245,7 +245,7 @@ mymain(void)
 {
     int result = 0;
 
-    virtTestQuiesceLibvirtErrors(true);
+    virTestQuiesceLibvirtErrors(true);
 
 # define DO_TEST(_name)                                                       \
         do {                                                                  \
diff --git a/tests/metadatatest.c b/tests/metadatatest.c
index 3203ba1..55dc841 100644
--- a/tests/metadatatest.c
+++ b/tests/metadatatest.c
@@ -279,7 +279,7 @@ mymain(void)
         return EXIT_FAILURE;
     }
 
-    virtTestQuiesceLibvirtErrors(false);
+    virTestQuiesceLibvirtErrors(false);
 
     if (virTestRun("Assign metadata ", testAssignMetadata, &test) < 0)
         ret = EXIT_FAILURE;
diff --git a/tests/objecteventtest.c b/tests/objecteventtest.c
index a8fc366..c77b0cd 100644
--- a/tests/objecteventtest.c
+++ b/tests/objecteventtest.c
@@ -546,7 +546,7 @@ mymain(void)
     if (!(test.conn = virConnectOpen("test:///default")))
         return EXIT_FAILURE;
 
-    virtTestQuiesceLibvirtErrors(false);
+    virTestQuiesceLibvirtErrors(false);
 
     /* Domain event tests */
     if (virTestRun("Domain createXML start event (old API)",
diff --git a/tests/sockettest.c b/tests/sockettest.c
index 23b98c4..4d49b38 100644
--- a/tests/sockettest.c
+++ b/tests/sockettest.c
@@ -272,7 +272,7 @@ mymain(void)
      * register a handler to stop error messages cluttering
      * up display
      */
-    virtTestQuiesceLibvirtErrors(false);
+    virTestQuiesceLibvirtErrors(false);
 
 #define DO_TEST_PARSE_AND_FORMAT(addrstr, family, pass)                 \
     do {                                                                \
diff --git a/tests/testutils.c b/tests/testutils.c
index a8cb2f6..8a867a1 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -726,7 +726,7 @@ virtTestErrorFuncQuiet(void *data ATTRIBUTE_UNUSED,
 
 /* register an error handler in tests when using connections */
 void
-virtTestQuiesceLibvirtErrors(bool always)
+virTestQuiesceLibvirtErrors(bool always)
 {
     if (always || !virTestGetVerbose())
         virSetErrorFunc(NULL, virtTestErrorFuncQuiet);
diff --git a/tests/testutils.h b/tests/testutils.h
index ac2bbce..23a687d 100644
--- a/tests/testutils.h
+++ b/tests/testutils.h
@@ -95,7 +95,7 @@ unsigned int virTestGetRegenerate(void);
 
 char *virTestLogContentAndReset(void);
 
-void virtTestQuiesceLibvirtErrors(bool always);
+void virTestQuiesceLibvirtErrors(bool always);
 
 void virTestCounterReset(const char *prefix);
 const char *virtTestCounterNext(void);
diff --git a/tests/utiltest.c b/tests/utiltest.c
index 7172cc3..9b7a4a3 100644
--- a/tests/utiltest.c
+++ b/tests/utiltest.c
@@ -263,7 +263,7 @@ mymain(void)
 {
     int result = 0;
 
-    virtTestQuiesceLibvirtErrors(true);
+    virTestQuiesceLibvirtErrors(true);
 
 #define DO_TEST(_name)                                                        \
         do {                                                                  \
-- 
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]