aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2013-06-05 19:08:22 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2013-06-05 19:08:22 +0000
commita4099656c3d8b4c6f1ed2dfe1ef8bfdbe69b826b (patch)
tree2692ea400c79babd9dc476ddcc0fe8acc344ccae /tools
parentb303f675dfe7dbb5d77b519d3e9307afcb049752 (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/bin/sh/builtins/wait8.07
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/builtins/wait8.0 b/tools/regression/bin/sh/builtins/wait8.0
new file mode 100644
index 0000000000000..b59ff59622eba
--- /dev/null
+++ b/tools/regression/bin/sh/builtins/wait8.0
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+exit 44 & p44=$!
+exit 45 & p45=$!
+exit 7 & p7=$!
+wait "$p44" "$p7" "$p45"
+[ "$?" = 45 ]