diff options
Diffstat (limited to 'shell/hush_test/hush-trap')
-rwxr-xr-x | shell/hush_test/hush-trap/catch.tests | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-trap/exit.tests | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/hush_test/hush-trap/catch.tests b/shell/hush_test/hush-trap/catch.tests index b1a4ed9..d2a21d1 100755 --- a/shell/hush_test/hush-trap/catch.tests +++ b/shell/hush_test/hush-trap/catch.tests @@ -1,7 +1,7 @@ # avoid ugly warnings about signals not being caught trap ":" USR1 USR2 -hush -c ' +"$THIS_SH" -c ' trap "echo caught" USR2 echo "sending USR2" kill -USR2 $$ diff --git a/shell/hush_test/hush-trap/exit.tests b/shell/hush_test/hush-trap/exit.tests index 174e74f..092543c 100755 --- a/shell/hush_test/hush-trap/exit.tests +++ b/shell/hush_test/hush-trap/exit.tests @@ -1,3 +1,3 @@ -hush -c 'trap "echo cow" 0' -hush -c 'trap "echo moo" EXIT' -hush -c 'trap "echo no" 0; trap 0' +"$THIS_SH" -c 'trap "echo cow" 0' +"$THIS_SH" -c 'trap "echo moo" EXIT' +"$THIS_SH" -c 'trap "echo no" 0; trap 0' |