summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/trap13.0
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/builtins/trap13.08
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/1sh/tests/builtins/trap13.0 b/bin/1sh/tests/builtins/trap13.0
new file mode 100644
index 00000000..bb2b0ce3
--- /dev/null
+++ b/bin/1sh/tests/builtins/trap13.0
@@ -0,0 +1,8 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/builtins/trap13.0 257399 2013-10-30 21:36:15Z jilles $
+
+{
+	trap 'exit 0' INT
+	${SH} -c 'kill -INT $PPID'
+	exit 3
+} &
+wait $!