summaryrefslogtreecommitdiff
path: root/modules/access-tests
Commit message (Collapse)AuthorAgeFilesLines
* access tests: Fix test failure when run as root.Bruno Haible2019-10-071-0/+2
| | | | | | | | | * tests/test-access.c: Include root-uid.h. (geteuid): Define fallback. (main): Don't expect that writing to a read-only file would fail when running as root. Also, remove the created files at the end. * modules/access-tests (Depends-on): Add root-uid. (configure.ac): Test whether geteuid exists.
* access: Add tests.Bruno Haible2019-09-151-0/+13
* tests/test-access.c: New file. * modules/access-tests: New file.