xref: /freebsd/bin/sh/tests/builtins/trap9.0 (revision 19d2e3de755b7c9ca2f5c90b5902fc8f214b2490)
1# $FreeBSD$
2
3test "$(trap 'printf trap; echo ped' EXIT; f() { :; }; f)" = trapped || exit 1
4