Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Add some more weird names | Tavian Barnes | 2024-05-28 | 3 | -0/+16 |
| | |||||
* | tests/bsd: Add a -sparse test | Tavian Barnes | 2024-03-28 | 2 | -0/+13 |
| | |||||
* | bftw: Actually stop if the callback returns BFTW_STOP | Tavian Barnes | 2024-01-31 | 2 | -0/+5 |
| | | | | | | Otherwise, bftw_ids() or bftw_eds() might keep going! Fixes: 5f16169 ("bftw: Share the bftw_state between iterations of ids/eds") | ||||
* | tests/bsd/type_w: Check for truncate(1) before using it | Tavian Barnes | 2024-01-03 | 1 | -1/+5 |
| | |||||
* | tests/bfs/help: Use ... && fail instead of ! ... | Tavian Barnes | 2023-10-23 | 1 | -1/+0 |
| | | | | ! false doesn't trigger an error with set -e. | ||||
* | tests: Use test-specific scratch directories | Tavian Barnes | 2023-10-22 | 18 | -104/+98 |
| | |||||
* | tests: New defer function | Tavian Barnes | 2023-10-19 | 1 | -16/+4 |
| | |||||
* | parse: Set BFTW_WHITEOUTS when parsing -type w | Tavian Barnes | 2023-10-17 | 2 | -0/+102 |
| | |||||
* | tests: Fail early in bfs_diff if the diff fails | Tavian Barnes | 2022-12-16 | 1 | -1/+1 |
| | | | | Otherwise, propagate the exit code from bfs | ||||
* | tests: Turn on set -e | Tavian Barnes | 2022-12-16 | 2 | -10/+3 |
| | |||||
* | tests: Move crash detection into invoke_bfs, use ! instead of fail | Tavian Barnes | 2022-12-16 | 3 | -3/+3 |
| | |||||
* | tests: Replace skip_unless test with test || skip | Tavian Barnes | 2022-12-16 | 7 | -14/+14 |
| | |||||
* | 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 | -4/+4 |
| | | | | And try to unmount things if the a test left them mounted. | ||||
* | tests: Coverage number go up | Tavian Barnes | 2022-10-19 | 3 | -0/+4 |
| | |||||
* | tests: Split test cases into separate files | Tavian Barnes | 2022-10-19 | 76 | -0/+381 |