Lines Matching refs:test_cases
71 } test_cases[] = { variable
84 int TST_TOTAL = ARRAY_SIZE(test_cases);
147 test_cases[i].pathname = SAFE_MMAP(cleanup, 0, 1, PROT_NONE, in bad_addr_setup()
153 test_cases[i].pathname = (char *)get_high_address(); in high_address_setup()
161 if (test_cases[i].setup != NULL) in lstat_verify()
162 test_cases[i].setup(i); in lstat_verify()
164 TEST(lstat(test_cases[i].pathname, &stat_buf)); in lstat_verify()
168 TEST_RETURN, test_cases[i].exp_errno); in lstat_verify()
172 if (TEST_ERRNO == test_cases[i].exp_errno) { in lstat_verify()
177 test_cases[i].exp_errno, in lstat_verify()
178 strerror(test_cases[i].exp_errno)); in lstat_verify()