Commit Graph

1 Commits

Author SHA1 Message Date
DJ Delorie 54aeb61503 Don't block SIGCHILD when system() is called concurrently
Resolves: #2176707

Note: Upstream patch used nanosleep() to support fractional seconds
in the "shell" sleep command.  This would have required a long
dependency chain of time_t related changes to be brought in.  Instead,
I modified the test to use integer sleep values and integer sleep().
I confirmed that the modified test still detected the bug without
the patch, and passes with it.

Future tests that use the test-container sleep shell command, and
require fractional sleep periods, will either need to be modified
similarly or deal with the nanosleep patch set.
2023-07-07 18:44:30 -04:00