diff options
Diffstat (limited to 'shell/hush_test/hush-trap/catch.tests')
-rwxr-xr-x | shell/hush_test/hush-trap/catch.tests | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/shell/hush_test/hush-trap/catch.tests b/shell/hush_test/hush-trap/catch.tests deleted file mode 100755 index d2a21d1..0000000 --- a/shell/hush_test/hush-trap/catch.tests +++ /dev/null @@ -1,20 +0,0 @@ -# avoid ugly warnings about signals not being caught -trap ":" USR1 USR2 - -"$THIS_SH" -c ' -trap "echo caught" USR2 -echo "sending USR2" -kill -USR2 $$ - -trap "" USR2 -echo "sending USR2" -kill -USR2 $$ - -trap "-" USR2 -echo "sending USR2" -kill -USR2 $$ - -echo "not reached" -' - -trap "-" USR1 USR2 |