Tomato 1.25
[tomato.git] / release / src / router / busybox / shell / hush_test / hush-trap / usage.tests
blobd29c6e74aaf4c91be24a02bb114f7362c42bc5ac
1 # no output -- default state
2 echo ___
3 trap
5 # assign some traps
6 echo ___
7 trap "a" EXIT INT USR1 USR2
9 # show them all
10 echo ___
11 trap
13 # clear one
14 echo ___
15 trap 0 INT
16 echo ___
17 trap
19 # clear another
20 echo ___
21 trap "-" USR1
22 echo ___
23 trap