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