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