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