aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test')
-rw-r--r--shell/ash_test/ash-signals/signal6.right2
-rwxr-xr-xshell/ash_test/ash-signals/signal6.tests3
2 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash_test/ash-signals/signal6.right b/shell/ash_test/ash-signals/signal6.right
new file mode 100644
index 000000000..df4d9306a
--- /dev/null
+++ b/shell/ash_test/ash-signals/signal6.right
@@ -0,0 +1,2 @@
+got TERM
+Done: 0
diff --git a/shell/ash_test/ash-signals/signal6.tests b/shell/ash_test/ash-signals/signal6.tests
new file mode 100755
index 000000000..ffeded2a5
--- /dev/null
+++ b/shell/ash_test/ash-signals/signal6.tests
@@ -0,0 +1,3 @@
+# Bug: TERM does not trigger in the child
+{ trap "echo got TERM" TERM; sleep 3; }& sleep 1; kill $!; wait
+echo Done: $?