Lines Matching refs:TEST_ASSERT
66 TEST_ASSERT(memcg_id && memcg_name,
75 TEST_ASSERT(*end == '\0', "malformed memcg id '%s'", memcg_id);
103 TEST_ASSERT(false, "found malformed line after 'memcg ...',"
108 TEST_ASSERT(id, "malformed node line; no node id");
111 TEST_ASSERT(*end == '\0', "malformed node id '%s'", id);
114 TEST_ASSERT(ctx->current_node_idx < MAX_NR_NODES,
133 TEST_ASSERT(it.str, "failed to copy input line");
150 TEST_ASSERT(node_stats->nr_gens < MAX_NR_GENS,
159 TEST_ASSERT(age && nr_anon && nr_file,
163 TEST_ASSERT(*end == '\0', "malformed generation number '%s'", gen);
166 TEST_ASSERT(*end == '\0', "malformed generation age '%s'", age);
169 TEST_ASSERT(*end == '\0', "malformed anonymous page count '%s'",
173 TEST_ASSERT(*end == '\0', "malformed file page count '%s'", nr_file);
215 TEST_ASSERT(f, "fopen(%s) failed", LRU_GEN_DEBUGFS);
228 TEST_ASSERT(false, "getline(%s) failed", LRU_GEN_DEBUGFS);
230 TEST_ASSERT(stats->memcg_id > 0, "Couldn't find memcg: %s\n"
235 TEST_ASSERT(!fclose(f), "fclose(%s) failed", LRU_GEN_DEBUGFS);
288 TEST_ASSERT(f, "fopen(%s) failed", LRU_GEN_DEBUGFS);
291 TEST_ASSERT(sz > 0, "creating aging command failed");
295 TEST_ASSERT(false, "writing aging command %s to %s failed",
299 TEST_ASSERT(!fclose(f), "fclose(%s) failed", LRU_GEN_DEBUGFS);