[git commit master] ash: make one testsuite entry more robust

Denys Vlasenko vda.linux at googlemail.com
Fri Oct 9 21:08:28 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=3dc4a3e4dce20988aa7691b4409d95ad9c32c923
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/ash_test/ash-signals/signal1.tests |    5 +++++
 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 098d21f..3c42473 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
     echo "sent $try signal"
 done &
 
+# Ensure "wait" have something to wait for
 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
 while $sleeping; do
     trap
-- 
1.6.3.3



More information about the busybox-cvs mailing list