busybox/shell/ash_test/ash-signals/savetrap.tests

10 lines
127 B
Plaintext
Raw Normal View History

trap 'echo Exiting' EXIT
trap 'echo WINCH!' SIGWINCH
v=` trap `
echo "$v"
v=$( trap )
echo "$v"
v=`trap`
echo "$v"
echo Done