busybox/shell/hush_test/hush-misc/while_in_subshell.tests
Denis Vlasenko f8d01d3f66 hush: fix a bug where we were requiring semicolon here: (cmd;)
also fix a bug where after error prompt is not shown.

function                                             old     new   delta
parse_stream                                        1612    1638     +26
parse_and_run_stream                                 361     375     +14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 40/0)               Total: 40 bytes
2008-06-14 17:13:20 +00:00

3 lines
40 B
Plaintext
Executable File

(while true; do exit; done)
echo OK: $?