Am 19.04.2026 um 02:47 schrieb Chris Hanson:
> On Apr 18, 2026, at 5:37 PM, Chris Hanson <[email protected]> wrote:
>>
>> Where should I look for test cases that cover posix_spawn and how to run 
>> them?
> 
> Aha, I’ve found tests/lib/libc/gen/posix_spawn and am getting an idea of how 
> to write the tests.
> 
> Now I just need to figure out how to run them…

$ cd tests/lib/libc/gen/posix_spawn
$ make
$ su root -c "make install"
$ make test

If you need a shortcut to the "make install" part, and you only want to
run a single test case, maybe in a loop, you can also:

$ cd tests/lib/libc/gen/posix_spawn
$ make
$ ./t_spawn -l
$ watch ./t_spawn t_spawn_zero

Roland

Reply via email to