summaryrefslogtreecommitdiffstats
path: root/tests/xspawn.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Simplify unit tests with a global variableTavian Barnes2024-07-071-60/+39
| | | | | It's a little awkward to thread the test result through manually; much easier to just make bfs_check() update a global variable.
* xspawn: Check X_OK even without $PATH resolutionTavian Barnes2024-06-081-0/+2
| | | | | | | | | | Not all posix_spawn() implementations use errno to report execv() failures from the child process, as that requires either a kernel posix_spawn() implementation or a pipe to pass the error back. This should fix tests/posix/exec_nonexistent on OpenBSD and HPPA. Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=hppa&ver=3.3.1-1&stamp=1717489148&raw=0
* diag: New helpers to include xstrerror(errno) automaticallyTavian Barnes2024-05-171-21/+21
|
* build: Replace `make config` with a `./configure` scriptTavian Barnes2024-04-291-12/+3
| | | | | | | | | | This lets us do more traditional out-of-tree builds like $ ../path/to/bfs/configure $ make The .mk files are moved from ./config to ./build, mostly so that ./configure will auto-complete easily.
* Rename config.h to prelude.hTavian Barnes2024-04-191-1/+1
|
* tests: Add ../src to the include pathTavian Barnes2024-04-191-5/+5
|
* xspawn: Fix bfs_resolve_late() error reportingTavian Barnes2024-03-271-0/+23
|
* tests/xspawn: Test path resolution failureTavian Barnes2024-03-271-3/+30
|
* tests/xspawn: Also test dup2()Tavian Barnes2024-03-271-1/+3
|
* tests/xspawn: New unit testTavian Barnes2024-03-271-0/+154