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