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-lutimens.h
tests/test-utimens.h
tests/test-utimens-common.h
tests/test-utimensat.c
tests/signature.h
tests/macros.h
Depends-on:
ignore-value
nanosleep
stdckdint
timespec
utimecmp
xconcat-filename
xgetcwd
configure.ac:
Makefile.am:
TESTS += test-utimensat
check_PROGRAMS += test-utimensat
test_utimensat_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(NANOSLEEP_LIB) @LIBINTL@