xref: /freebsd/bin/sh/tests/builtins/wait10.0 (revision 6ba2210ee039f2f12878c217bcf058e9c8b26b29)
1# $FreeBSD$
2# Init cannot be a child of the shell.
3exit 49 & p49=$!
4wait 1 "$p49"
5[ "$?" = 49 ]
6