summaryrefslogtreecommitdiff
path: root/corebinutils/sh/tests/builtins/wait8.0
blob: 3f6cdc72abc7d0464543f0020734de32c20e1bf2 (plain)
1
2
3
4
5
6

exit 44 & p44=$!
exit 45 & p45=$!
exit 7 & p7=$!
wait "$p44" "$p7" "$p45"
[ "$?" = 45 ]