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