xref: /dflybsd-src/tools/regression/bin/sh/builtins/trap9.0 (revision 3e3895bf4584c1562faf4533cbd97026ee6a8dcf)
1# $FreeBSD: head/bin/sh/tests/builtins/trap9.0 230211 2012-01-16 10:59:44Z dumbbell $
2
3test "$(trap 'printf trap; echo ped' EXIT; f() { :; }; f)" = trapped || exit 1
4