summary refs log tree commit diff
path: root/bin/cash/tests/builtins/trap7.0
blob: a6facbdc43936c33ec2dbcad3b7dee07446dd3e9 (plain) (blame)
1
2
3
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/trap7.0 217996 2011-01-27 23:08:20Z jilles $

[ "$(trap 'echo trapped' EXIT)" = trapped ]