summaryrefslogtreecommitdiffstats
path: root/tests/posix
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use bfs_sudo wrapper instead of testing $SUDOTavian Barnes2022-12-293-9/+6
|
* tests: Fail early in bfs_diff if the diff failsTavian Barnes2022-12-164-4/+4
| | | | Otherwise, propagate the exit code from bfs
* tests: Turn on set -eTavian Barnes2022-12-169-31/+20
|
* tests: Move crash detection into invoke_bfs, use ! instead of failTavian Barnes2022-12-169-9/+9
|
* tests: Replace skip_unless test with test || skipTavian Barnes2022-12-165-9/+9
|
* tests/posix/readdir_error: Fix flakinessTavian Barnes2022-12-141-7/+23
|
* tests: Add a test for readdir() errorsTavian Barnes2022-12-131-0/+21
|
* exec: Fix index overflow parsing -exec +Tavian Barnes2022-11-112-0/+4
|
* pwcache: Fill the user/group caches lazilyTavian Barnes2022-11-092-2/+11
| | | | | | | 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/xtouch: New utilityTavian Barnes2022-11-074-4/+4
| | | | | | POSIX touch(1) doesn't include the -h option, and indeed OpenBSD doesn't implement it. Making our own utility also lets us add some handy extensions like -p (create parents) and -M (set permissions).
* tests: Add a helper for cleaning scratchTavian Barnes2022-10-204-5/+5
| | | | And try to unmount things if the a test left them mounted.
* tests: Coverage number go upTavian Barnes2022-10-191-0/+1
|
* tests: Split test cases into separate filesTavian Barnes2022-10-19192-0/+912