]> Savannah Git Hosting - gnulib.git/commit
access, euidaccess tests: Avoid test failure in Cygwin 3.5.5.
authorBruno Haible <bruno@clisp.org>
Wed, 25 Dec 2024 00:34:23 +0000 (01:34 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 25 Dec 2024 14:38:17 +0000 (15:38 +0100)
commit14c38be04dcf5078b08927fd3fa12bea7f5a9891
tree592381ce83e0b848429959782f8add0d05fe7290
parentca91e534492961f514cc9aecba94064d35df158a
access, euidaccess tests: Avoid test failure in Cygwin 3.5.5.

* tests/test-access.h [__CYGWIN__]: Include <grp.h>, <string.h>,
<unistd.h>.
(is_administrator): New function.
(is_root): New macro.
(test_access): Reenable F_OK test for non-administrators on Cygwin.
Disable X_OK test for administrators on Cygwin.
ChangeLog
tests/test-access.h