This function doesn't follow our convention of naming functions.
cmd, NULL, NULL, NULL)))
goto fail;
- if (!virtTestOOMActive()) {
+ if (!virTestOOMActive()) {
if ((log = virtTestLogContentAndReset()) == NULL)
goto fail;
if (flags & FLAG_EXPECT_WARNING) {
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);
char *progname;
-bool virtTestOOMActive(void)
+bool virTestOOMActive(void)
{
return testOOMActive;
}
# error Fix Makefile.am
# endif
-bool virtTestOOMActive(void);
+bool virTestOOMActive(void);
int virTestRun(const char *title,
int (*body)(const void *data),
goto cleanup;
}
- if (virtTestOOMActive())
+ if (virTestOOMActive())
goto cleanup;
if (virBufferError(&cmdbuf))
goto cleanup;
}
- if (virtTestOOMActive())
+ if (virTestOOMActive())
goto cleanup;
if (virBufferError(&cmdbuf))
goto cleanup;
}
- if (virtTestOOMActive())
+ if (virTestOOMActive())
goto cleanup;
if (virBufferError(&cmdbuf))
goto cleanup;
}
- if (virtTestOOMActive())
+ if (virTestOOMActive())
goto cleanup;
if (virBufferError(&cmdbuf))