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