ash: make one testsuite entry more robust
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 9 Oct 2009 21:08:28 +0000 (23:08 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 9 Oct 2009 21:08:28 +0000 (23:08 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash_test/ash-signals/signal1.tests

index 098d21fd4993c936b1bec4a3181a16321b0b85f9..3c424731a248a7813eac3bb62cef65ee2d7b6b1f 100755 (executable)
@@ -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