mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
tests: Rename virtTest00MActive to virTest00MActive.
This function doesn't follow our convention of naming functions.
This commit is contained in:
parent
8a9bd034c2
commit
8a48cf6efa
@ -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) {
|
||||
|
@ -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);
|
||||
|
@ -84,7 +84,7 @@ static size_t testEnd;
|
||||
|
||||
char *progname;
|
||||
|
||||
bool virtTestOOMActive(void)
|
||||
bool virTestOOMActive(void)
|
||||
{
|
||||
return testOOMActive;
|
||||
}
|
||||
|
@ -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),
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user