sh: Split off some special behavior into separate regress tests.
[dragonfly.git] / tools / regression / bin / sh / builtins / trap3.0
CommitLineData
ec6257fc 1# $FreeBSD: src/tools/regression/bin/sh/builtins/trap3.0,v 1.2 2011/02/20 14:18:58 jilles Exp $
3df4d8b0
PA
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
3df4d8b0 11exit 0