aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-signals
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-signals')
-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
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