Lines Matching refs:setxattr
8 * have extended attributes. Otherwise setxattr(2) will return -1
12 * 1. Set attribute to a regular file, setxattr(2) should succeed
13 * 2. Set attribute to a directory, setxattr(2) should succeed
15 * setxattr(2) should return -1 and set errno to EEXIST
16 * 4. Set attribute to a FIFO, setxattr(2) should return -1 and set
18 * 5. Set attribute to a char special file, setxattr(2) should
20 * 6. Set attribute to a block special file, setxattr(2) should
22 * 7. Set attribute to a UNIX domain socket, setxattr(2) should
134 TEST(setxattr(tc[i].fname, tc[i].key, tc[i].value, tc[i].size,
138 tst_brk(TCONF, "setxattr(2) not supported");
145 "setxattr(2) on %s failed with %li",
153 tst_res(TPASS, "setxattr(2) on %s passed",
159 tst_res(TFAIL, "setxattr(2) on %s passed unexpectedly",
168 "setxattr(2) on %s should have failed with %s",
178 tst_res(TPASS | TTERRNO, "setxattr(2) on %s failed",