Annotation of /trunk/mkinitrd-magellan/busybox/shell/ash_doc.txt
Parent Directory | Revision Log
Revision 816 -
(hide annotations)
(download)
Fri Apr 24 18:33:46 2009 UTC (15 years, 1 month ago) by niro
File MIME type: text/plain
File size: 569 byte(s)
Fri Apr 24 18:33:46 2009 UTC (15 years, 1 month ago) by niro
File MIME type: text/plain
File size: 569 byte(s)
-updated to busybox-1.13.4
1 | niro | 816 | Wait + signals |
2 | |||
3 | We had some bugs here which are hard to test in testsuite. | ||
4 | |||
5 | Bug 1280 (http://busybox.net/bugs/view.php?id=1280): | ||
6 | was misbehaving in interactive ash. Correct behavior: | ||
7 | |||
8 | $ sleep 20 & | ||
9 | $ wait | ||
10 | ^C | ||
11 | $ wait | ||
12 | ^C | ||
13 | $ wait | ||
14 | ^C | ||
15 | ... | ||
16 | |||
17 | Bug 1984 (http://busybox.net/bugs/view.php?id=1984): | ||
18 | traps were not triggering: | ||
19 | |||
20 | trap_handler_usr () { | ||
21 | echo trap usr | ||
22 | } | ||
23 | trap_handler_int () { | ||
24 | echo trap int | ||
25 | } | ||
26 | trap trap_handler_usr USR1 | ||
27 | trap trap_handler_int INT | ||
28 | sleep 3600 & | ||
29 | echo "Please do: kill -USR1 $$" | ||
30 | echo "or: kill -INT $$" | ||
31 | while true; do wait; echo wait interrupted; done |