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