mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
Call wait to ensure that background processes have died
This is being done to establish parity with pgrep-j_test
This commit is contained in:
parent
09d73a0662
commit
01f66c0831
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278653
|
@ -50,6 +50,7 @@ else
|
|||
fi
|
||||
[ -f ${PWD}/${base}_1_1.pid ] && kill $(cat ${PWD}/${base}_1_1.pid)
|
||||
[ -f ${PWD}/${base}_1_2.pid ] && kill $(cat ${PWD}/${base}_1_2.pid)
|
||||
wait
|
||||
|
||||
name="pgrep -j any"
|
||||
sleep_amount=6
|
||||
|
@ -70,6 +71,7 @@ else
|
|||
fi
|
||||
[ -f ${PWD}/${base}_2_1.pid ] && kill $(cat ${PWD}/${base}_2_1.pid)
|
||||
[ -f ${PWD}/${base}_2_2.pid ] && kill $(cat ${PWD}/${base}_2_2.pid)
|
||||
wait
|
||||
|
||||
name="pgrep -j none"
|
||||
sleep_amount=7
|
||||
|
|
Loading…
Reference in a new issue