trap8.0 revision 218889
1218889Sjilles# $FreeBSD: head/tools/regression/bin/sh/builtins/trap8.0 218889 2011-02-20 14:18:58Z jilles $ 2218889Sjilles 3218889Sjilles# I am not sure if POSIX requires the shell to continue processing 4218889Sjilles# further trap names in the same trap command after an invalid one. 5218889Sjilles 6218889Sjillestest -n "$(trap true garbage TERM 2>/dev/null || trap)" || exit 3 7218889Sjillesexit 0 8