mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
tests/coprocess.sh: fix rare fail (re: 712261c8
)
A coprocess cleanup test could fail on rare occasions because I had lowered the 'sleep 1' between two test coprocesses to 'sleep .1'. This increases the sleep to prevent future spurious fails. Fixes: https://github.com/ksh93/ksh/issues/129
This commit is contained in:
parent
e1c41bb2de
commit
6d0c4ac55f
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ do
|
|||
fi
|
||||
wait $!
|
||||
|
||||
( sleep .3 |& sleep .1 && kill $!; sleep .1; sleep .3 |& sleep .1 && kill $! ) ||
|
||||
( sleep 3 |& sleep .1 && kill $!; sleep .5; sleep 3 |& sleep .1 && kill $! ) ||
|
||||
err_exit "$cat coprocess cleanup not working correctly"
|
||||
{ : |& } 2>/dev/null ||
|
||||
err_exit "subshell $cat coprocess lingers in parent"
|
||||
|
|
Loading…
Reference in a new issue