Lines Matching defs:test
21 * This test case will verify basic function of fchownat
35 #include "test.h"
102 static void fchownat_verify(const struct test_case_t *test)
104 TEST(fchownat(*(test->fds), test->filenames, geteuid(),
105 getegid(), test->flag));
107 if (TEST_RETURN != test->exp_ret) {
110 TEST_RETURN, test->exp_ret, test->exp_errno);
114 if (TEST_ERRNO == test->exp_errno) {
117 test->exp_ret, strerror(test->exp_errno));
121 test->exp_errno, strerror(test->exp_errno));