Home | History | Annotate | Download | only in renameat

Lines Matching refs:tc

197 static void renameat_verify(const struct test_case_t *tc)
199 if (tc->exp_errno == EMLINK && max_subdirs == 0) {
204 TEST(renameat(*(tc->oldfdptr), tc->oldpath,
205 *(tc->newfdptr), tc->newpath));
207 if (tc->exp_errno && TEST_RETURN != -1) {
212 if (tc->exp_errno == 0 && TEST_RETURN != 0) {
217 if (TEST_ERRNO == tc->exp_errno) {
223 "%d - %s", tc->exp_errno,
224 strerror(tc->exp_errno));
227 if (TEST_ERRNO == 0 && renameat(*(tc->newfdptr), tc->newpath,
228 *(tc->oldfdptr), tc->oldpath) < 0) {
230 "%d, %s) failed.", *(tc->newfdptr), tc->newpath,
231 *(tc->oldfdptr), tc->oldpath);