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