xref: /freebsd/bin/sh/tests/builtins/trap9.0 (revision cddbc3b40812213ff00041f79174cac0be360a2a)
1# $FreeBSD$
2
3test "$(trap 'printf trap; echo ped' EXIT; f() { :; }; f)" = trapped || exit 1
4