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