tests: port test-fdutimensat.c to Solaris 8
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Dec 2010 08:06:16 +0000 (00:06 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Dec 2010 08:07:00 +0000 (00:07 -0800)
commit6147723cd9000c4e840205fec3e64b0a5a5c1d04
tree895c2f21b949984013911441716fe95f53bda9a2
parent562547d19b88ca771061280e43c4c97143e43463
tests: port test-fdutimensat.c to Solaris 8

* tests/test-fdutimensat.c (do_fdutimens): Don't assume
fdutimensat works with a nonnegative fd and AT_SYMLINK_NOFOLLOW.
On Solaris 8, it fails with errno == ENOSYS, because there is no
futimens (so it can't use the fd), and there is no lutimens (so it
can't implement AT_SYMLINK_NOFOLLOW on symlinks).
ChangeLog
tests/test-fdutimensat.c