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