xref: /freebsd/bin/sh/tests/builtins/trap3.0 (revision 193d9e768ba63fcfb187cfd17f461f7d41345048)
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