Annotation of /trunk/mkinitrd-magellan/busybox/shell/hush_test/hush-trap/catch.tests
Parent Directory | Revision Log
Revision 984 -
(hide annotations)
(download)
Sun May 30 11:32:42 2010 UTC (14 years ago) by niro
File size: 286 byte(s)
Sun May 30 11:32:42 2010 UTC (14 years ago) by niro
File size: 286 byte(s)
-updated to busybox-1.16.1 and enabled blkid/uuid support in default config
1 | niro | 984 | # 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 | * |