busybox/shell/hush_test
Denys Vlasenko 7e6753609d 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>
2016-10-28 21:59:09 +02:00
..
hush-arith shell/math: deconvolute and explain ?: handling. Give better error message 2010-09-16 11:50:46 +02:00
hush-bugs hush: fix var3.tests 2016-10-02 21:12:02 +02:00
hush-glob hush testsuite: add glob_dir.tests 2016-10-02 15:20:57 +02:00
hush-heredoc ash: [PARSER] Recognise here-doc delimiters terminated by EOF 2016-10-26 16:26:45 +02:00
hush-invert hush testsuite: add many tests from ash testsuite 2016-10-02 17:39:31 +02:00
hush-leak hush: do not use ps -o in leak_argv1; do not hardcode path in negate 2009-08-12 14:21:30 +02:00
hush-misc hush: fix "wait PID" 2016-10-28 21:59:09 +02:00
hush-parsing sh testsuite: create hush-redir/* and move files around 2016-10-02 17:55:51 +02:00
hush-psubst hush: fix handling of \" in quoted/unquoted cmd 2010-09-12 15:05:39 +02:00
hush-quoting hush testsuite: add many tests from ash testsuite 2016-10-02 17:39:31 +02:00
hush-read hush testsuite: add many tests from ash testsuite 2016-10-02 17:39:31 +02:00
hush-redir sh testsuite: sync ash-redir/ and hush-redir/ 2016-10-02 18:32:52 +02:00
hush-signals typo fixes 2016-10-26 13:15:35 +02:00
hush-standalone hush testsuite: add many tests from ash testsuite 2016-10-02 17:39:31 +02:00
hush-vars ash: [PARSER] Fix parsing of ${##1} 2016-10-26 15:56:53 +02:00
hush-z_slow hush: plug a memory leak 2010-01-12 06:47:39 +01:00
.gitignore hush_test: ignore generated files 2009-05-21 17:45:26 -04:00
run-all hush: fix a bug in FEATURE_SH_STANDALONE=y config. Closes 9186 2016-08-19 18:43:06 +02:00