aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/tests/builtins/trap8.0
blob: cdce976e36da34a44369a4607388b4672ec0d011 (plain) (blame)
1
2
3
4
5
6
7
# $FreeBSD$

# I am not sure if POSIX requires the shell to continue processing
# further trap names in the same trap command after an invalid one.

test -n "$(trap true garbage TERM 2>/dev/null || trap)" || exit 3
exit 0