[PATCH] fix posix/tst-spawn test

Florian Weimer fweimer@redhat.com
Wed Sep 27 14:45:00 GMT 2017


On 09/27/2017 04:40 PM, Szabolcs Nagy wrote:
> The test spawns two children but only waited for one.
> The fix avoids printing to stderr.
> 
> 2017-09-27  Szabolcs Nagy<szabolcs.nagy@arm.com>
> 
> 	* posix/tst-spawn.c (do_test): Wait for both children.

Sorry, one more thing: I think you should not interleave the spawns and 
waits.  I think you can do a -1 wait after the PID wait, and the test 
will still pass.  This should be closer to the original test.

Thanks,
Florian



More information about the Libc-alpha mailing list