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