- result = fdutimensat (dfd, name, fd, times, 0);
- ASSERT (fdutimensat (dfd, name, fd, times, AT_SYMLINK_NOFOLLOW) == result);
+ nofollow_result = fdutimensat (fd, dfd, name, times, AT_SYMLINK_NOFOLLOW);
+ nofollow_errno = errno;
+ result = fdutimensat (fd, dfd, name, times, 0);
+ ASSERT (result == nofollow_result
+ || (nofollow_result == -1 && nofollow_errno == ENOSYS));