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