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