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