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