mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
fix false positive in signal5.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
82dd14a510
commit
786cce1871
@ -1,12 +1,12 @@
|
||||
Waiting
|
||||
sleeping for 1 sec
|
||||
sleeping for 3 sec
|
||||
sleeping for 2 sec
|
||||
1 sec passed, sending USR1 to parent
|
||||
USR1 received
|
||||
Wait exit code: 138
|
||||
Waiting
|
||||
2 sec passed, sending USR1 to parent
|
||||
USR1 received
|
||||
Wait exit code: 138
|
||||
Waiting
|
||||
3 sec passed, sending USR1 to parent
|
||||
USR1 received
|
||||
Wait exit code: 138
|
||||
Waiting
|
||||
Wait returned 0
|
||||
|
@ -5,8 +5,9 @@ stub() {
|
||||
echo "$1 sec passed, sending USR1 to parent"
|
||||
kill -USR1 $$
|
||||
}
|
||||
stub 3 &
|
||||
stub 2 &
|
||||
stub 1 &
|
||||
sleep 1
|
||||
until { echo "Waiting"; wait; } do
|
||||
echo "Wait exit code: $?"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user