summaryrefslogtreecommitdiffstats
path: root/tests/bsd
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add some more weird namesTavian Barnes2024-05-283-0/+16
|
* tests/bsd: Add a -sparse testTavian Barnes2024-03-282-0/+13
|
* bftw: Actually stop if the callback returns BFTW_STOPTavian Barnes2024-01-312-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 itTavian Barnes2024-01-031-1/+5
|
* tests/bfs/help: Use ... && fail instead of ! ...Tavian Barnes2023-10-231-1/+0
| | | | ! false doesn't trigger an error with set -e.
* tests: Use test-specific scratch directoriesTavian Barnes2023-10-2218-104/+98
|
* tests: New defer functionTavian Barnes2023-10-191-16/+4
|
* parse: Set BFTW_WHITEOUTS when parsing -type wTavian Barnes2023-10-172-0/+102
|
* tests: Fail early in bfs_diff if the diff failsTavian Barnes2022-12-161-1/+1
| | | | Otherwise, propagate the exit code from bfs
* tests: Turn on set -eTavian Barnes2022-12-162-10/+3
|
* tests: Move crash detection into invoke_bfs, use ! instead of failTavian Barnes2022-12-163-3/+3
|
* tests: Replace skip_unless test with test || skipTavian Barnes2022-12-167-14/+14
|
* 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-4/+4
| | | | And try to unmount things if the a test left them mounted.
* tests: Coverage number go upTavian Barnes2022-10-193-0/+4
|
* tests: Split test cases into separate filesTavian Barnes2022-10-1976-0/+381