Magellan Linux

Contents of /trunk/mkinitrd-magellan/busybox/shell/hush_test/hush-trap/catch.tests

Parent Directory Parent Directory | Revision Log Revision Log


Revision 984 - (show annotations) (download)
Sun May 30 11:32:42 2010 UTC (13 years, 11 months ago) by niro
File size: 286 byte(s)
-updated to busybox-1.16.1 and enabled blkid/uuid support in default config
1 # avoid ugly warnings about signals not being caught
2 trap ":" USR1 USR2
3
4 "$THIS_SH" -c '
5 trap "echo caught" USR2
6 echo "sending USR2"
7 kill -USR2 $$
8
9 trap "" USR2
10 echo "sending USR2"
11 kill -USR2 $$
12
13 trap "-" USR2
14 echo "sending USR2"
15 kill -USR2 $$
16
17 echo "not reached"
18 '
19
20 trap "-" USR1 USR2

Properties

Name Value
svn:executable *