summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-06-19 00:00:36 +0000
committerjilles <jilles@FreeBSD.org>2011-06-19 00:00:36 +0000
commitf8c70a63e15fb01785a5e425a69b797bb9b4b001 (patch)
tree8e15d40c14550bee7667e77814468a435e98a926 /tools
parentf78ebc168ba76cc9de70590c71fceac20b9d63b8 (diff)
downloadFreeBSD-src-f8c70a63e15fb01785a5e425a69b797bb9b4b001.zip
FreeBSD-src-f8c70a63e15fb01785a5e425a69b797bb9b4b001.tar.gz
sh: Add test for r223282.
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/bin/sh/execution/bg4.06
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/execution/bg4.0 b/tools/regression/bin/sh/execution/bg4.0
new file mode 100644
index 0000000..25e4f4e
--- /dev/null
+++ b/tools/regression/bin/sh/execution/bg4.0
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+x=''
+: ${x:=1} &
+wait
+exit ${x:-0}
OpenPOWER on IntegriCloud