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