summary refs log tree commit diff
path: root/bin/cash/tests/builtins/wait8.0
blob: 8212035be4dc454f2dd20e36fda4ad5301b65fe8 (plain) (blame)
1
2
3
4
5
6
7
# $FreeBSD: releng/12.0/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 ]