busybox/shell/hush_test/hush-trap/exit.tests

4 lines
112 B
Plaintext
Raw Normal View History

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