1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2026-10-24 00:48:56 +03:00

file-has-acl tests: Avoid test failure on Cygwin.

* modules/file-has-acl-tests (Makefile.am): Add host_os to the
TESTS_ENVIRONMENT.
* tests/test-file-has-acl-2.sh: On Cygwin, skip this test.
This commit is contained in:
Bruno Haible
2025-06-09 12:51:14 +02:00
parent 7424e3cfaa
commit c731f33152
3 changed files with 16 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
2025-06-09 Bruno Haible <bruno@clisp.org>
file-has-acl tests: Avoid test failure on Cygwin.
* modules/file-has-acl-tests (Makefile.am): Add host_os to the
TESTS_ENVIRONMENT.
* tests/test-file-has-acl-2.sh: On Cygwin, skip this test.
2025-06-08 Paul Eggert <eggert@cs.ucla.edu>
parse-datetime: debug mktime failures better

View File

@@ -15,6 +15,8 @@ AC_CHECK_DECLS_ONCE([alarm])
Makefile.am:
TESTS += \
test-file-has-acl.sh test-file-has-acl-1.sh test-file-has-acl-2.sh
TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
TESTS_ENVIRONMENT += \
USE_ACL=$(USE_ACL) \
host_os='@host_os@'
check_PROGRAMS += test-file-has-acl
test_file_has_acl_LDADD = $(LDADD) $(FILE_HAS_ACL_LIB)

View File

@@ -5,6 +5,12 @@
. "${srcdir=.}/init.sh"; path_prepend_ .
# Around 2025-06-06, this test started failing on the GitHub CI machines.
# Cause unknown.
case "$host_os" in
cygwin*) Exit 77 ;;
esac
TMPDIR=`pwd`
export TMPDIR