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