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