summary refs log tree commit diff
path: root/bin/cash/tests/builtins/trap9.0
blob: cfcee29db367e3c9a2f497b33e34d6bc53735113 (plain) (blame)
1
2
3
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/trap9.0 230211 2012-01-16 10:59:44Z dumbbell $

test "$(trap 'printf trap; echo ped' EXIT; f() { :; }; f)" = trapped || exit 1