summaryrefslogtreecommitdiffhomepage
path: root/shell/ash_test/ash-signals/signal5.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-17 10:14:20 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-17 10:14:20 +0200
commit786cce1871ade4240c629187d6609de155fe3536 (patch)
tree8181a94d98e5cffb90dace5ae26b944aa8962289 /shell/ash_test/ash-signals/signal5.tests
parent82dd14a510caf192c90e764f36bf424d647b5376 (diff)
fix false positive in signal5.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-signals/signal5.tests')
-rwxr-xr-xshell/ash_test/ash-signals/signal5.tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash_test/ash-signals/signal5.tests b/shell/ash_test/ash-signals/signal5.tests
index 5003180f7..371120e95 100755
--- a/shell/ash_test/ash-signals/signal5.tests
+++ b/shell/ash_test/ash-signals/signal5.tests
@@ -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