Lines Matching refs:fsetxattr
8 * Basic tests for fsetxattr(2) and make sure fsetxattr(2) handles error
13 * fsetxattr(2) should return -1 and set errno to EINVAL
15 * fsetxattr(2) should return -1 and set errno to ENODATA
17 * fsetxattr(2) should return -1 and set errno to ERANGE
19 * fsetxattr(2) should return -1 and set errno to E2BIG
21 * fsetxattr(2) should succeed
23 * fsetxattr(2) should return -1 and set errno to EEXIST
25 * fsetxattr(2) should succeed
27 * fsetxattr(2) should return -1 and set errno to ERANGE
29 * fsetxattr(2) should return -1 and set errno to EFAULT
147 TEST(fsetxattr(fd, tc[i].key, *tc[i].value, tc[i].size, tc[i].flags));
150 tst_brk(TCONF, "fsetxattr(2) not supported");
157 "fsetxattr(2) failed with %li", TST_RET);
164 tst_res(TPASS, "fsetxattr(2) passed");
170 tst_res(TFAIL, "fsetxattr(2) passed unexpectedly");
177 tst_res(TFAIL | TTERRNO, "fsetxattr(2) should fail with %s",
186 tst_res(TPASS | TTERRNO, "fsetxattr(2) failed");