Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests/posix/name_bracket: Skip on NetBSD too | Tavian Barnes | 2024-01-03 | 1 | -2/+6 |
| | |||||
* | tests: Add tests for ulimit -n after -exec | Tavian Barnes | 2023-11-02 | 2 | -0/+18 |
| | |||||
* | tests: Fix Bash 3 compatibility | Tavian Barnes | 2023-10-23 | 3 | -11/+6 |
| | |||||
* | tests: Use test-specific scratch directories | Tavian Barnes | 2023-10-22 | 13 | -72/+75 |
| | |||||
* | tests: Refactor implementation into separate files | Tavian Barnes | 2023-10-19 | 3 | -4/+0 |
| | |||||
* | tests: New defer function | Tavian Barnes | 2023-10-19 | 7 | -7/+11 |
| | |||||
* | dir: Fix FreeBSD union mounts | Tavian Barnes | 2023-10-17 | 4 | -0/+28 |
| | |||||
* | tests: Move closed_std* tests out of the POSIX group | Tavian Barnes | 2023-10-14 | 4 | -22/+0 |
| | | | | | | | | | | | | | POSIX actually says > If the utility would be executed with file descriptor 0, 1, or 2 > closed, implementations may execute the utility with the file > descriptor open to an unspecified file. So we're not guaranteed to be able to detect the situation in the first place. Add a best-effort check for these platforms and skip the test. Link: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_01_01 | ||||
* | tests: Use bfs_sudo wrapper instead of testing $SUDO | Tavian Barnes | 2022-12-29 | 3 | -9/+6 |
| | |||||
* | tests: Fail early in bfs_diff if the diff fails | Tavian Barnes | 2022-12-16 | 4 | -4/+4 |
| | | | | Otherwise, propagate the exit code from bfs | ||||
* | tests: Turn on set -e | Tavian Barnes | 2022-12-16 | 9 | -31/+20 |
| | |||||
* | tests: Move crash detection into invoke_bfs, use ! instead of fail | Tavian Barnes | 2022-12-16 | 9 | -9/+9 |
| | |||||
* | tests: Replace skip_unless test with test || skip | Tavian Barnes | 2022-12-16 | 5 | -9/+9 |
| | |||||
* | tests/posix/readdir_error: Fix flakiness | Tavian Barnes | 2022-12-14 | 1 | -7/+23 |
| | |||||
* | tests: Add a test for readdir() errors | Tavian Barnes | 2022-12-13 | 1 | -0/+21 |
| | |||||
* | exec: Fix index overflow parsing -exec + | Tavian Barnes | 2022-11-11 | 2 | -0/+4 |
| | |||||
* | pwcache: Fill the user/group caches lazily | Tavian Barnes | 2022-11-09 | 2 | -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 utility | Tavian Barnes | 2022-11-07 | 4 | -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 scratch | Tavian Barnes | 2022-10-20 | 4 | -5/+5 |
| | | | | And try to unmount things if the a test left them mounted. | ||||
* | tests: Coverage number go up | Tavian Barnes | 2022-10-19 | 1 | -0/+1 |
| | |||||
* | tests: Split test cases into separate files | Tavian Barnes | 2022-10-19 | 192 | -0/+912 |