]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tools/regression/bin/sh/builtins/trap8.0
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / tools / regression / bin / sh / builtins / trap8.0
1 # $FreeBSD$
2
3 # I am not sure if POSIX requires the shell to continue processing
4 # further trap names in the same trap command after an invalid one.
5
6 test -n "$(trap true garbage TERM 2>/dev/null || trap)" || exit 3
7 exit 0