Hash :
f59ff6be
Author :
Date :
2024-08-12T16:15:50
fdutimensat, utimensat tests: Fix test failures on Cygwin. * tests/nap.h: Include concat-filename.h, xgetcwd.h. (nap_file): New variable. (nap_get_stat, clear_temp_file): Use nap_file, not TEMPFILE. (nap): Initialize nap_file. * modules/chown-tests (Depends-on): Add xconcat-filename, xgetcwd. * modules/fchownat-tests (Depends-on): Likewise. * modules/fdutimensat-tests (Depends-on): Likewise. * modules/futimens-tests (Depends-on): Likewise. * modules/lchown-tests (Depends-on): Likewise. * modules/stat-time-tests (Depends-on): Likewise. * modules/utime-tests (Depends-on): Likewise. * modules/utimens-tests (Depends-on): Likewise. * modules/utimensat-tests (Depends-on): Likewise.
Files:
tests/nap.h
tests/test-chown.h
tests/test-lchown.h
tests/test-fchownat.c
tests/signature.h
tests/macros.h
Depends-on:
errno
ignore-value
mgetgroups
nanosleep
openat-h
stat-time
stdckdint
symlink
xconcat-filename
xgetcwd
configure.ac:
AC_CHECK_FUNCS_ONCE([getgid getegid])
Makefile.am:
TESTS += test-fchownat
check_PROGRAMS += test-fchownat
test_fchownat_LDADD = $(LDADD) $(NANOSLEEP_LIB) @LIBINTL@