busybox/shell/hush_test/hush-z_slow
Denys Vlasenko b762c784ca hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quoting
dollar_altvalue1 test partially fails: word splitting of unquoted ${var:+...}
is not correct

function                                             old     new   delta
encode_then_expand_vararg                              -     443    +443
expand_one_var                                      1599    1610     +11
parse_stream                                        2756    2753      -3
encode_string                                        250     242      -8
setup_heredoc                                        308     298     -10
expand_and_evaluate_arith                            106      96     -10
encode_then_expand_string                            142     126     -16
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/5 up/down: 454/-47)           Total: 407 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-07-17 14:21:38 +02:00
..
leak_all1.right
leak_all1.tests
leak_all2.right
leak_all2.tests
leak_empty_tick.right
leak_empty_tick.tests
leak_heredoc1.right
leak_heredoc1.tests
leak_var2.right
leak_var2.tests
leak_var3.right
leak_var3.tests
leak_var.right
leak_var.tests
many_ifs.right
many_ifs.tests hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quoting 2018-07-17 14:21:38 +02:00