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