busybox/shell/hush_test/hush-trap/exit.tests
2009-03-29 23:49:46 +00:00

4 lines
94 B
Plaintext
Executable File

hush -c 'trap "echo cow" 0'
hush -c 'trap "echo moo" EXIT'
hush -c 'trap "echo no" 0; trap 0'