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