提交 8a48cf6e 编写于 作者: T Tomáš Ryšavý 提交者: John Ferlan

tests: Rename virtTest00MActive to virTest00MActive.

This function doesn't follow our convention of naming functions.
上级 8a9bd034
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册