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