static bool virLXCProcessIgnorableLogLine(const char *str) { if (virLogProbablyLogMessage(str)) return true; if (strstr(str, "PATH=")) return true; if (strstr(str, "error receiving signal from container")) return true; if (STREQ(str, "")) return true; return false; }
static int testLogMatch(const void *opaque) { const struct testLogData *data = opaque; bool got = virLogProbablyLogMessage(data->str); if (got != data->pass) { VIR_TEST_DEBUG("Expected '%d' but got '%d' for '%s'\n", data->pass, got, data->str); return -1; } return 0; }