xref: /freebsd/bin/sh/tests/builtins/trap8.0 (revision f92d9b1aad73fc47f8f0b960808ca2c1a938e9e7)
1
2# I am not sure if POSIX requires the shell to continue processing
3# further trap names in the same trap command after an invalid one.
4
5test -n "$(trap true garbage TERM 2>/dev/null || trap)" || exit 3
6exit 0
7