aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-signals/signal1.right
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-10-24 04:26:43 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2020-10-24 04:26:43 +0200
commite16f7eb5967b9a960f4600c20690af63fb830b60 (patch)
tree3a07d75e1bb30874324816aa3ec1e7a6cfc898dc /shell/hush_test/hush-signals/signal1.right
parentb65d6cb00fa0ea51bac4c4e62b576b43ae2c996b (diff)
downloadbusybox-e16f7eb5967b9a960f4600c20690af63fb830b60.tar.gz
hush: output bash-compat killing signal names
This significantly syncronises ash-signals and hush-signals tests. function old new delta process_wait_result 449 450 +1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-signals/signal1.right')
-rw-r--r--shell/hush_test/hush-signals/signal1.right20
1 files changed, 20 insertions, 0 deletions
diff --git a/shell/hush_test/hush-signals/signal1.right b/shell/hush_test/hush-signals/signal1.right
new file mode 100644
index 000000000..cf403ac62
--- /dev/null
+++ b/shell/hush_test/hush-signals/signal1.right
@@ -0,0 +1,20 @@
+got signal
+trap -- 'echo got signal' USR1
+sent 1 signal
+got signal
+wait interrupted
+trap -- 'echo got signal' USR1
+sent 2 signal
+got signal
+wait interrupted
+trap -- 'echo got signal' USR1
+sent 3 signal
+got signal
+wait interrupted
+trap -- 'echo got signal' USR1
+sent 4 signal
+got signal
+wait interrupted
+trap -- 'echo got signal' USR1
+sent 5 signal
+sleep completed