add test cases for trap ... but disabled for now until trap support is committed

This commit is contained in:
Mike Frysinger
2009-03-29 09:54:40 +00:00
parent 038fe44713
commit fd303b11ef
8 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
hush -c 'trap "echo cow" 0'
hush -c 'trap "echo moo" EXIT'
hush -c 'trap "echo no" 0; trap 0'