Lines Matching defs:test
37 #include "test.h"
78 static void renameat2_verify(const struct test_case *test);
105 "This test can only run on kernels that are 3.15. and higher");
135 static void renameat2_verify(const struct test_case *test)
137 TEST(renameat2(*(test->olddirfd), test->oldpath,
138 *(test->newdirfd), test->newpath, test->flags));
140 if ((test->flags & RENAME_EXCHANGE) && EINVAL == TEST_ERRNO
148 if (test->exp_errno && TEST_RETURN != -1) {
153 if (test->exp_errno == 0 && TEST_RETURN != 0) {
158 if (test->exp_errno == TEST_ERRNO) {
166 test->exp_errno, tst_strerrno(test->exp_errno));