Re: access, euidaccess tests: Avoid test failure for root user on Solaris

2024-05-21 Thread Bruno Haible
Collin Funk wrote: > I didn't know they were run as root (CI is new to me). That's why I start all CI runs with these commands: uname -a id env | LC_ALL=C sort pwd It helps understanding the environment :) Sometimes I need to add echo $PA

Re: access, euidaccess tests: Avoid test failure for root user on Solaris

2024-05-21 Thread Collin Funk
On 5/21/24 6:45 AM, Bruno Haible wrote: > The CI runs the Solaris 11 and Solaris 11 OmniOS tests as root, and shows > these two test failures: > > FAIL: test-access > FAIL: test-euidaccess > > This occurs because although the file does not have the 'x' bit set, > for root faccessat() returns 0. >

access, euidaccess tests: Avoid test failure for root user on Solaris

2024-05-21 Thread Bruno Haible
5-21 Bruno Haible access, euidaccess tests: Avoid test failure for root user on Solaris. * tests/test-access.h (test_access): On Solaris, for the root user, don't expect X_OK permissions to be absent. * doc/posix-functions/access.texi: Mention the Solar