]> git.ipfire.org Git - thirdparty/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 00:34:23 +0000 (01:34 +0100)
commit80f04d7dd2bf4e50ee95f8b2ca4874a087c6d61b
tree30447355336dcbcbd96e1da348c1f18fc407f140
parent8e795a8d9f8c3269a3d30d0d1adbaf0ea9ad4a84
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