add test cases for trap ... but disabled for now until trap support is committed
This commit is contained in:
3
shell/hush_test/hush-trap/exit.tests
Normal file
3
shell/hush_test/hush-trap/exit.tests
Normal 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'
|
||||
Reference in New Issue
Block a user