summaryrefslogtreecommitdiffhomepage
path: root/shell/ash_test/ash-signals/signal1.right
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-signals/signal1.right')
-rw-r--r--shell/ash_test/ash-signals/signal1.right20
1 files changed, 20 insertions, 0 deletions
diff --git a/shell/ash_test/ash-signals/signal1.right b/shell/ash_test/ash-signals/signal1.right
new file mode 100644
index 000000000..66c30a5f0
--- /dev/null
+++ b/shell/ash_test/ash-signals/signal1.right
@@ -0,0 +1,20 @@
+got signal
+trap -- 'echo got signal' USR1
+sent 1 signal
+got signal
+sleep interrupted
+trap -- 'echo got signal' USR1
+sent 2 signal
+got signal
+sleep interrupted
+trap -- 'echo got signal' USR1
+sent 3 signal
+got signal
+sleep interrupted
+trap -- 'echo got signal' USR1
+sent 4 signal
+got signal
+sleep interrupted
+trap -- 'echo got signal' USR1
+sent 5 signal
+sleep completed