xref: /freebsd/bin/sh/tests/builtins/trap15.0 (revision 276da39af92f48350aa01091a2b8b3e735217eea)
1# $FreeBSD$
2
3(${SH} -c 'term(){ exit 5;}; trap term TERM; kill -TERM $$') &
4wait >/dev/null 2>&1 $!
5[ $? -eq 5 ]
6