summary refs log tree commit diff
path: root/bin/cash/tests/builtins/trap3.0
blob: e08f7355152ccf6f8f51ee694da426d045131d6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/trap3.0 218889 2011-02-20 14:18:58Z jilles $

{
	trap '' garbage && exit 3
	trap - garbage && exit 3
	trap true garbage && exit 3
	trap '' 99999 && exit 3
	trap - 99999 && exit 3
	trap true 99999 && exit 3
} 2>/dev/null
exit 0