Lines Matching refs:utimes
10 * 1) utimes() returns -1 and sets errno to EACCES if times
14 * 2) utimes() returns -1 and sets errno to ENOENT if filename
16 * 3) utimes() returns -1 and sets errno to EFAULT if filename
18 * 4) utimes() returns -1 and sets errno to EPERM if times is
21 * 5) utimes() returns -1 and sets errno to EROFS if path resides
81 TEST(utimes(tc->pathname, tc->times));
84 tst_res(TPASS | TTERRNO, "utimes() worked as expected");
87 "utimes() failed unexpectedly; expected: %d - %s",
91 if (TST_ERR == 0 && utimes(tc->pathname, tmp_tv) == -1)
92 tst_brk(TBROK | TERRNO, "utimes() failed.");