summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-trap/exit.tests
blob: 174e74f45783ebb53f894dbf9583c20408c51944 (plain)
1
2
3
hush -c 'trap "echo cow" 0'
hush -c 'trap "echo moo" EXIT'
hush -c 'trap "echo no" 0; trap 0'