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