busybox/shell/hush_test/hush-misc
Denis Vlasenko 6a2d40f239 hush: support "break N" and "continue N"
fix non-detection of builtins and applets in "v=break; ...; $v; ..." case
 add testsuite entries for the above

function                                             old     new   delta
builtin_break                                         12      93     +81
run_list                                            1948    1971     +23
builtin_continue                                      12      21      +9
pseudo_exec_argv                                     132     138      +6
builtin_exec                                          23      25      +2
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/0 up/down: 121/0)             Total: 121 bytes
2008-07-28 23:07:06 +00:00
..
break1.right hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
break1.tests hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
break2.right hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
break2.tests hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
break3.right hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
break3.tests hush: support "break N" and "continue N" 2008-07-28 23:07:06 +00:00
case1.right hush: finish and enable optional case...esac support. Code size cost: 2008-07-28 00:01:16 +00:00
case1.tests hush: finish and enable optional case...esac support. Code size cost: 2008-07-28 00:01:16 +00:00
colon.right hush: add support for ':'; create testsuite entries 2008-06-14 15:50:55 +00:00
colon.tests hush: fix a bug where we were requiring semicolon here: (cmd;) 2008-06-14 17:13:20 +00:00
empty_for2.right hush: support "for v; do ... done" syntax (implied 'in "$@"') 2008-07-05 20:29:59 +00:00
empty_for2.tests hush: support "for v; do ... done" syntax (implied 'in "$@"') 2008-07-05 20:29:59 +00:00
empty_for.right hush: fix "for a in; do echo 'I should never run'; done" bug 2008-06-17 12:09:21 +00:00
empty_for.tests hush: fix "for a in; do echo 'I should never run'; done" bug 2008-06-17 12:09:21 +00:00
for_with_keywords.right hush: support "for if in do done then; do echo $if; done" case 2008-07-06 10:01:13 +00:00
for_with_keywords.tests hush: support "for if in do done then; do echo $if; done" case 2008-07-06 10:01:13 +00:00
pid.right hush: fix $$ handling 2008-06-17 12:28:44 +00:00
pid.tests hush: fix $$ handling 2008-06-17 12:28:44 +00:00
read.right hush: fix read builtin to not read ahead past eol and to not use 2007-06-13 06:47:47 +00:00
read.tests hush: fix read builtin to not read ahead past eol and to not use 2007-06-13 06:47:47 +00:00
shift.right hush: improve 2 testsuite tests 2007-05-24 13:22:01 +00:00
shift.tests hush: improve 2 testsuite tests 2007-05-24 13:22:01 +00:00
syntax_err_negate.right hush: support "! cmd | cmd" negation 2008-06-14 11:00:17 +00:00
syntax_err_negate.tests hush: support "! cmd | cmd" negation 2008-06-14 11:00:17 +00:00
syntax_err.right hush: improve 2 testsuite tests 2007-05-24 13:22:01 +00:00
syntax_err.tests hush: improve 2 testsuite tests 2007-05-24 13:22:01 +00:00
while_in_subshell.right hush: fix a bug where we were requiring semicolon here: (cmd;) 2008-06-14 17:13:20 +00:00
while_in_subshell.tests hush: fix a bug where we were requiring semicolon here: (cmd;) 2008-06-14 17:13:20 +00:00