aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-09 23:08:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-09 23:08:28 +0200
commit3dc4a3e4dce20988aa7691b4409d95ad9c32c923 (patch)
tree7f6a17401322da58efb578c07e374411f3a0e43f
parent69d1f45c16f634356562edb14f2b61015a46e4b4 (diff)
downloadbusybox-w32-3dc4a3e4dce20988aa7691b4409d95ad9c32c923.tar.gz
busybox-w32-3dc4a3e4dce20988aa7691b4409d95ad9c32c923.tar.bz2
busybox-w32-3dc4a3e4dce20988aa7691b4409d95ad9c32c923.zip
ash: make one testsuite entry more robust
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xshell/ash_test/ash-signals/signal1.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash_test/ash-signals/signal1.tests b/shell/ash_test/ash-signals/signal1.tests
index 098d21fd4..3c424731a 100755
--- a/shell/ash_test/ash-signals/signal1.tests
+++ b/shell/ash_test/ash-signals/signal1.tests
@@ -6,8 +6,13 @@ for try in 1 2 3 4 5; do
6 echo "sent $try signal" 6 echo "sent $try signal"
7done & 7done &
8 8
9# Ensure "wait" have something to wait for
9sleep 2 & 10sleep 2 &
10 11
12# Ensure we do not execute "trap" below before "kill -USR1" above
13# (was getting failure on loaded machine without this)
14sleep 0.1
15
11sleeping=true 16sleeping=true
12while $sleeping; do 17while $sleeping; do
13 trap 18 trap