xref: /freebsd/bin/sh/tests/builtins/trap7.0 (revision 61e21613)
1
2[ "$(trap 'echo trapped' EXIT)" = trapped ]
3