1
0
Fork 0
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:
Martijn Dekker 2022-02-11 09:27:17 +00:00
parent 1cdd963f53
commit 4fee9d84fe

View file

@ -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