Lines Matching refs:TEST_ASSERT_VAL
109 TEST_ASSERT_VAL("No test file", file); in test__dso_data()
115 TEST_ASSERT_VAL("Failed to access to dso", in test__dso_data()
128 TEST_ASSERT_VAL("Wrong size", size == data->size); in test__dso_data()
129 TEST_ASSERT_VAL("Wrong data", !memcmp(buf, data->data, 10)); in test__dso_data()
139 TEST_ASSERT_VAL("ENOMEM\n", buf); in test__dso_data()
147 TEST_ASSERT_VAL("Wrong size", in test__dso_data()
151 TEST_ASSERT_VAL("Wrong data", in test__dso_data()
174 TEST_ASSERT_VAL("failed to open fd directory", dir); in open_files_cnt()
195 TEST_ASSERT_VAL("failed to alloc dsos array", dsos); in dsos__create()
201 TEST_ASSERT_VAL("failed to get dso file", file); in dsos__create()
204 TEST_ASSERT_VAL("failed to get dso", dsos[i]); in dsos__create()
247 TEST_ASSERT_VAL("failed to set file limit", !set_fd_limit(limit)); in test__dso_data_cache()
251 TEST_ASSERT_VAL("failed to create dsos\n", in test__dso_data_cache()
262 TEST_ASSERT_VAL("failed to get fd", fd > 0); in test__dso_data_cache()
270 TEST_ASSERT_VAL("failed to read dso", n == BUFSIZE); in test__dso_data_cache()
275 TEST_ASSERT_VAL("dsos[0] is not open", dsos[0]->data.fd != -1); in test__dso_data_cache()
279 TEST_ASSERT_VAL("failed to get fd", fd > 0); in test__dso_data_cache()
282 TEST_ASSERT_VAL("failed to close dsos[0]", dsos[0]->data.fd == -1); in test__dso_data_cache()
290 TEST_ASSERT_VAL("failed leadking files", nr == nr_end); in test__dso_data_cache()
316 TEST_ASSERT_VAL("failed to set file limit", in test__dso_data_reopen()
319 TEST_ASSERT_VAL("failed to create dsos\n", !dsos__create(3, TEST_FILE_SIZE)); in test__dso_data_reopen()
323 TEST_ASSERT_VAL("failed to get fd", fd > 0); in test__dso_data_reopen()
327 TEST_ASSERT_VAL("failed to get fd", fd > 0); in test__dso_data_reopen()
334 TEST_ASSERT_VAL("failed to open extra fd", fd_extra > 0); in test__dso_data_reopen()
338 TEST_ASSERT_VAL("failed to get fd", fd > 0); in test__dso_data_reopen()
344 TEST_ASSERT_VAL("failed to close dso_0", dso_0->data.fd == -1); in test__dso_data_reopen()
348 TEST_ASSERT_VAL("failed to get fd", fd > 0); in test__dso_data_reopen()
354 TEST_ASSERT_VAL("failed to close dso_1", dso_1->data.fd == -1); in test__dso_data_reopen()
363 TEST_ASSERT_VAL("failed leadking files", nr == nr_end); in test__dso_data_reopen()