1251430Sjilles# $FreeBSD: head/tools/regression/bin/sh/builtins/wait10.0 251430 2013-06-05 19:40:52Z jilles $ 2251430Sjilles# Init cannot be a child of the shell. 3251430Sjillesexit 49 & p49=$! 4251430Sjilleswait 1 "$p49" 5251430Sjilles[ "$?" = 49 ] 6