xref: /freebsd/bin/sh/tests/builtins/wait8.0 (revision d8a0fe102c0cfdfcd5b818f850eff09d8536c9bc)
1# $FreeBSD$
2
3exit 44 & p44=$!
4exit 45 & p45=$!
5exit 7 & p7=$!
6wait "$p44" "$p7" "$p45"
7[ "$?" = 45 ]
8