aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/wait1.right
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-10-28 21:57:31 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-10-28 21:59:09 +0200
commit7e6753609d102b68a625072fb1660065246a54e2 (patch)
treecd18eb18be9402da2bc1daf6ac9b53acba94dcbf /shell/hush_test/hush-misc/wait1.right
parent8f7b0248adca9a88351fd7f3dd208775242f3fe6 (diff)
downloadbusybox-7e6753609d102b68a625072fb1660065246a54e2.tar.gz
hush: fix "wait PID"
It was not properly interruptible, and did not update job status (the exited processes were still thought of as running). function old new delta process_wait_result - 453 +453 wait_for_child_or_signal - 199 +199 run_list 996 1002 +6 checkjobs_and_fg_shell 41 43 +2 builtin_wait 328 215 -113 checkjobs 516 142 -374 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 2/2 up/down: 660/-487) Total: 173 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-misc/wait1.right')
-rw-r--r--shell/hush_test/hush-misc/wait1.right2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/wait1.right b/shell/hush_test/hush-misc/wait1.right
new file mode 100644
index 000000000..20f514da0
--- /dev/null
+++ b/shell/hush_test/hush-misc/wait1.right
@@ -0,0 +1,2 @@
+0
+[1] Running sleep 2