tests: Rename virtTest00MActive to virTest00MActive.

This function doesn't follow our convention of naming functions.
This commit is contained in:
Tomáš Ryšavý 2016-05-26 17:01:56 +02:00 committed by John Ferlan
parent 8a9bd034c2
commit 8a48cf6efa
5 changed files with 8 additions and 8 deletions

View 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) {

View 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);

View File

@ -84,7 +84,7 @@ static size_t testEnd;
char *progname;
bool virtTestOOMActive(void)
bool virTestOOMActive(void)
{
return testOOMActive;
}

View 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),

View 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))