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.