busybox/shell/hush_test
Denis Vlasenko b6e6556b31 hush: improve parse_stream: does not require parsing context struct;
cleans up on syntax errors (we used to leak memory in this case);
 much simplified interface to the rest of hush.

function                                             old     new   delta
parse_stream                                        1204    1447    +243
done_word                                            658     669     +11
static_get                                            22      28      +6
builtin_source                                        84      89      +5
parse_and_run_file                                    27      30      +3
parse_and_run_string                                  31      27      -4
builtin_eval                                          55      50      -5
hush_main                                            991     985      -6
free_pipe_list                                        39      31      -8
free_pipe                                            210     189     -21
expand_variables                                    2242    2199     -43
parse_and_run_stream                                 289     153    -136
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/7 up/down: 268/-223)           Total: 45 bytes
2009-04-03 16:49:04 +00:00
..
hush-arith hush: rename ->o_quote to ->o_escape 2009-04-02 20:17:49 +00:00
hush-glob hush: add testsuite for "no globbing in redirection" rule. 2008-06-18 16:29:32 +00:00
hush-leak hush: fix segv at repeated "set -- a b c" + "shift" 2009-03-22 11:41:18 +00:00
hush-misc hush: improve parse_stream: does not require parsing context struct; 2009-04-03 16:49:04 +00:00
hush-parsing hush: tweak testsuite 2009-03-20 12:12:33 +00:00
hush-psubst hush: fix for nested $()s with escapes + testsuite 2008-06-12 12:58:20 +00:00
hush-trap hust_test/*: use "$THIS_SH" instead of hush 2009-03-31 22:14:32 +00:00
hush-vars hush: fix bug with local environment vars in pipes; simplify parse_stream() 2009-04-03 03:19:15 +00:00
hush-z_slow hush: fix environment and memory leaks, add tests for them 2008-10-09 16:29:44 +00:00
run-all trim trailing slashes from specified subdir so we output to the right place 2009-04-02 22:46:52 +00:00