mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
tests/sigchild.sh: try to fix intermittent fail (re: dc80f40d
)
It probably won't make a difference since the 'sleep' is run in the background, but let's change 'sleep .5 &' back to the original 'sleep 1 &' from the 93u+ 2012-08-01 version and see what happens. See: https://github.com/ksh93/ksh/issues/344#issuecomment-982219206
This commit is contained in:
parent
1cdd963f53
commit
4fee9d84fe
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ then
|
|||
integer running=0 maxrunning=0
|
||||
trap "((running--))" CHLD
|
||||
for ((i=0; i<JOBCOUNT; i++))
|
||||
do sleep .5 &
|
||||
do sleep 1 &
|
||||
if ((++running > maxrunning))
|
||||
then ((maxrunning=running))
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue