aboutsummaryrefslogtreecommitdiff
path: root/toys/other/eject.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-09-22 09:45:30 -0500
committerRob Landley <rob@landley.net>2019-09-22 09:45:30 -0500
commite794647d2ac93a968c25491fe3681a9613c410e6 (patch)
treedc9a05f9478e5eb499a584835191e5c1c9442071 /toys/other/eject.c
parent49f5ac02c55426b8f7dd1ba22da2d02b0074366d (diff)
downloadtoybox-e794647d2ac93a968c25491fe3681a9613c410e6.tar.gz
Avoid spurious test failures when fork() coincides with signal being sent,
then pgrep finds child that hasn't exec("sleep") yet. So add 1/10 sec sleep to let exec() happen before pgrep. While we're there fix spurious "terminated" messages and reorder test file creation so it fits in 80 columns.
Diffstat (limited to 'toys/other/eject.c')
0 files changed, 0 insertions, 0 deletions