Lines Matching refs:fgetxattr
8 * Basic tests for fgetxattr(2) and make sure fgetxattr(2) handles error
13 * - fgetxattr(2) should return -1 and set errno to ENODATA
15 * - fgetxattr(2) should return -1 and set errno to ERANGE
16 * 3. Get attribute, fgetxattr(2) should succeed:
17 * - verify the attribute got by fgetxattr(2) is same as the value we set
80 TEST(fgetxattr(fd, tc[i].key, tc[i].value, tc[i].size));
83 tst_brk(TCONF, "fgetxattr(2) not supported");
88 tst_res(TPASS, "fgetxattr(2) passed");
90 tst_res(TFAIL, "fgetxattr(2) passed unexpectedly");
102 tst_res(TPASS | TTERRNO, "fgetxattr(2) passed");
106 tst_res(TFAIL | TTERRNO, "fgetxattr(2) failed");