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