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