source: MondoRescue/branches/2.2.9/mindi-busybox/shell/hush_test/hush-trap/usage.tests@ 3320

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
  • Property svn:executable set to *
File size: 233 bytes
Line 
1# no output -- default state
2echo ___
3trap
4
5# assign some traps
6echo ___
7trap "a" EXIT INT USR1 USR2
8
9# show them all
10echo ___
11trap
12
13# clear one
14echo ___
15trap 0 INT
16echo ___
17trap
18
19# clear another
20echo ___
21trap "-" USR1
22echo ___
23trap
Note: See TracBrowser for help on using the repository browser.