diff options
Diffstat (limited to 'shell_cmds/sh/tests/builtins/wait8.0')
-rw-r--r-- | shell_cmds/sh/tests/builtins/wait8.0 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/builtins/wait8.0 b/shell_cmds/sh/tests/builtins/wait8.0 new file mode 100644 index 0000000..15e23b7 --- /dev/null +++ b/shell_cmds/sh/tests/builtins/wait8.0 @@ -0,0 +1,7 @@ +# $FreeBSD: head/bin/sh/tests/builtins/wait8.0 251429 2013-06-05 19:08:22Z jilles $ + +exit 44 & p44=$! +exit 45 & p45=$! +exit 7 & p7=$! +wait "$p44" "$p7" "$p45" +[ "$?" = 45 ] |