xref: /freebsd/bin/sh/tests/builtins/trap3.0 (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
1# $FreeBSD$
2
3{
4	trap '' garbage && exit 3
5	trap - garbage && exit 3
6	trap true garbage && exit 3
7	trap '' 99999 && exit 3
8	trap - 99999 && exit 3
9	trap true 99999 && exit 3
10} 2>/dev/null
11exit 0
12