]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: Rename virtTest00MActive to virTest00MActive.
authorTomáš Ryšavý <tom.rysavy.0@gmail.com>
Thu, 26 May 2016 15:01:56 +0000 (17:01 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 8 Jun 2016 15:23:12 +0000 (11:23 -0400)
This function doesn't follow our convention of naming functions.

tests/qemuargv2xmltest.c
tests/qemuxml2argvtest.c
tests/testutils.c
tests/testutils.h
tests/virfirewalltest.c

index 25f0a693a8e1f4abe683b13bacfaecda25417696..3b5707fc5deb93c5f52c803f487a0691463a949c 100644 (file)
@@ -69,7 +69,7 @@ static int testCompareXMLToArgvFiles(const char *xmlfile,
                                              cmd, NULL, NULL, NULL)))
         goto fail;
 
-    if (!virtTestOOMActive()) {
+    if (!virTestOOMActive()) {
         if ((log = virtTestLogContentAndReset()) == NULL)
             goto fail;
         if (flags & FLAG_EXPECT_WARNING) {
index 4776cc75dd47fdbaf50cfa011442a6a31a7b67f8..695d2acfd0772bef9111364542840c6b1934c5b4 100644 (file)
@@ -351,7 +351,7 @@ static int testCompareXMLToArgvFiles(const char *xml,
         VIR_TEST_DEBUG("Error expected but there wasn't any.\n");
         goto out;
     }
-    if (!virtTestOOMActive()) {
+    if (!virTestOOMActive()) {
         if (flags & FLAG_EXPECT_FAILURE) {
             if ((log = virtTestLogContentAndReset()))
                 VIR_TEST_DEBUG("Got expected error: \n%s", log);
index e643fb21bf999273a0f6ad959e69eb7619e1910e..4a44d6a4a284d3865268e6750f75858d92cea95e 100644 (file)
@@ -84,7 +84,7 @@ static size_t testEnd;
 
 char *progname;
 
-bool virtTestOOMActive(void)
+bool virTestOOMActive(void)
 {
     return testOOMActive;
 }
index 77a5d259c0f7d86658668e61b644e75c00be88cb..d395120ffecb672ec80b8a78d945f451f50663af 100644 (file)
@@ -46,7 +46,7 @@ extern char *progname;
 #  error Fix Makefile.am
 # endif
 
-bool virtTestOOMActive(void);
+bool virTestOOMActive(void);
 
 int virTestRun(const char *title,
                int (*body)(const void *data),
index 338f714c3be69379ac3b9f07831f0b8a2719719e..6f4fed5ce312099edab1e03f7c3c3e5b461147a0 100644 (file)
@@ -611,7 +611,7 @@ testFirewallNoRollback(const void *opaque ATTRIBUTE_UNUSED)
         goto cleanup;
     }
 
-    if (virtTestOOMActive())
+    if (virTestOOMActive())
         goto cleanup;
 
     if (virBufferError(&cmdbuf))
@@ -701,7 +701,7 @@ testFirewallSingleRollback(const void *opaque ATTRIBUTE_UNUSED)
         goto cleanup;
     }
 
-    if (virtTestOOMActive())
+    if (virTestOOMActive())
         goto cleanup;
 
     if (virBufferError(&cmdbuf))
@@ -794,7 +794,7 @@ testFirewallManyRollback(const void *opaque ATTRIBUTE_UNUSED)
         goto cleanup;
     }
 
-    if (virtTestOOMActive())
+    if (virTestOOMActive())
         goto cleanup;
 
     if (virBufferError(&cmdbuf))
@@ -917,7 +917,7 @@ testFirewallChainedRollback(const void *opaque ATTRIBUTE_UNUSED)
         goto cleanup;
     }
 
-    if (virtTestOOMActive())
+    if (virTestOOMActive())
         goto cleanup;
 
     if (virBufferError(&cmdbuf))