mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
ash: make one testsuite entry more robust
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
69d1f45c16
commit
3dc4a3e4dc
@ -6,8 +6,13 @@ for try in 1 2 3 4 5; do
|
|||||||
echo "sent $try signal"
|
echo "sent $try signal"
|
||||||
done &
|
done &
|
||||||
|
|
||||||
|
# Ensure "wait" have something to wait for
|
||||||
sleep 2 &
|
sleep 2 &
|
||||||
|
|
||||||
|
# Ensure we do not execute "trap" below before "kill -USR1" above
|
||||||
|
# (was getting failure on loaded machine without this)
|
||||||
|
sleep 0.1
|
||||||
|
|
||||||
sleeping=true
|
sleeping=true
|
||||||
while $sleeping; do
|
while $sleeping; do
|
||||||
trap
|
trap
|
||||||
|
Loading…
Reference in New Issue
Block a user