summaryrefslogtreecommitdiffstats
path: root/tests/posix/nogroup_ulimit.sh
Commit message (Collapse)AuthorAgeFilesLines
* tests: Don't clobber inherited FDsTavian Barnes2024-02-011-1/+1
| | | | | Rather than attempting to close any unexpected FDs, just count them and adjust our ulimit -n calls to account for them.
* tests/posix: Avoid catastrophic backtrackingTavian Barnes2024-01-171-6/+1
| | | | | | Using -path 'deep/*/*/.../*' to simulate -mindepth 18 falls off a performance cliff on systems that use backtracking for fnmatch(). This was observed on macOS 12.4. Instead, just use -type f.
* tests: Refactor implementation into separate filesTavian Barnes2023-10-191-1/+0
|
* pwcache: Fill the user/group caches lazilyTavian Barnes2022-11-091-1/+6
| | | | | | | Iterating all the users/groups can be expensive, especially with NSS. Android has so many that it doesn't even return them all from get{pw,gr}ent() for performance reasons, leading to incorrect behaviour of -user/-group/etc.
* tests: Split test cases into separate filesTavian Barnes2022-10-191-0/+3