mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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)))
|
cmd, NULL, NULL, NULL)))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if (!virtTestOOMActive()) {
|
if (!virTestOOMActive()) {
|
||||||
if ((log = virtTestLogContentAndReset()) == NULL)
|
if ((log = virtTestLogContentAndReset()) == NULL)
|
||||||
goto fail;
|
goto fail;
|
||||||
if (flags & FLAG_EXPECT_WARNING) {
|
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");
|
VIR_TEST_DEBUG("Error expected but there wasn't any.\n");
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if (!virtTestOOMActive()) {
|
if (!virTestOOMActive()) {
|
||||||
if (flags & FLAG_EXPECT_FAILURE) {
|
if (flags & FLAG_EXPECT_FAILURE) {
|
||||||
if ((log = virtTestLogContentAndReset()))
|
if ((log = virtTestLogContentAndReset()))
|
||||||
VIR_TEST_DEBUG("Got expected error: \n%s", log);
|
VIR_TEST_DEBUG("Got expected error: \n%s", log);
|
||||||
|
@ -84,7 +84,7 @@ static size_t testEnd;
|
|||||||
|
|
||||||
char *progname;
|
char *progname;
|
||||||
|
|
||||||
bool virtTestOOMActive(void)
|
bool virTestOOMActive(void)
|
||||||
{
|
{
|
||||||
return testOOMActive;
|
return testOOMActive;
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ extern char *progname;
|
|||||||
# error Fix Makefile.am
|
# error Fix Makefile.am
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
bool virtTestOOMActive(void);
|
bool virTestOOMActive(void);
|
||||||
|
|
||||||
int virTestRun(const char *title,
|
int virTestRun(const char *title,
|
||||||
int (*body)(const void *data),
|
int (*body)(const void *data),
|
||||||
|
@ -611,7 +611,7 @@ testFirewallNoRollback(const void *opaque ATTRIBUTE_UNUSED)
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (virtTestOOMActive())
|
if (virTestOOMActive())
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (virBufferError(&cmdbuf))
|
if (virBufferError(&cmdbuf))
|
||||||
@ -701,7 +701,7 @@ testFirewallSingleRollback(const void *opaque ATTRIBUTE_UNUSED)
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (virtTestOOMActive())
|
if (virTestOOMActive())
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (virBufferError(&cmdbuf))
|
if (virBufferError(&cmdbuf))
|
||||||
@ -794,7 +794,7 @@ testFirewallManyRollback(const void *opaque ATTRIBUTE_UNUSED)
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (virtTestOOMActive())
|
if (virTestOOMActive())
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (virBufferError(&cmdbuf))
|
if (virBufferError(&cmdbuf))
|
||||||
@ -917,7 +917,7 @@ testFirewallChainedRollback(const void *opaque ATTRIBUTE_UNUSED)
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (virtTestOOMActive())
|
if (virTestOOMActive())
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (virBufferError(&cmdbuf))
|
if (virBufferError(&cmdbuf))
|
||||||
|
Loading…
Reference in New Issue
Block a user