busybox/shell/hush_test/hush-quoting
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
..
bkslash_case1.right ash : fix double-quoted "\z" handling 2018-02-13 14:44:11 +01:00
bkslash_case1.tests ash : fix double-quoted "\z" handling 2018-02-13 14:44:11 +01:00
bkslash_case2.right hush: fix a backslash-removal bug in case 2018-04-02 17:25:18 +02:00
bkslash_case2.tests hush: fix a backslash-removal bug in case 2018-04-02 17:25:18 +02:00
bkslash_in_varexp1.right shell: tweak bkslash_in_varexp.tests, add bkslash_in_varexp1.tests 2018-03-02 18:12:12 +01:00
bkslash_in_varexp1.tests shell: tweak bkslash_in_varexp.tests, add bkslash_in_varexp1.tests 2018-03-02 18:12:12 +01:00
bkslash_in_varexp.right shell: two new tests, both fail for ash and hush 2018-03-02 17:13:22 +01:00
bkslash_in_varexp.tests shell: tweak bkslash_in_varexp.tests, add bkslash_in_varexp1.tests 2018-03-02 18:12:12 +01:00
case_glob1.right hush: fix "$v" expansion in case patterns when v='[a]' 2018-04-11 13:47:59 +02:00
case_glob1.tests hush: fix "$v" expansion in case patterns when v='[a]' 2018-04-11 13:47:59 +02:00
dollar_altvalue1.right hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quoting 2018-07-17 14:21:38 +02:00
dollar_altvalue1.tests hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quoting 2018-07-17 14:21:38 +02:00
dollar_repl_bash1.right hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quoting 2018-07-17 14:21:38 +02:00
dollar_repl_bash1.tests hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quoting 2018-07-17 14:21:38 +02:00
dollar_repl_slash_bash1.right
dollar_repl_slash_bash1.tests
dollar_repl_slash_bash2.right ash,hush: new test dollar_repl_slash_bash2.tests 2018-03-30 23:25:24 +02:00
dollar_repl_slash_bash2.tests ash,hush: new test dollar_repl_slash_bash2.tests 2018-03-30 23:25:24 +02:00
quoted_punct.right hush: fix quoted_punct.tests failure 2017-07-05 23:12:15 +02:00
quoted_punct.tests hush: fix quoted_punct.tests failure 2017-07-05 23:12:15 +02:00
squote_in_varexp1.right hush: fix a='a\\'; echo "${a%\\\\}" 2018-03-02 20:48:36 +01:00
squote_in_varexp1.tests hush: fix a='a\\'; echo "${a%\\\\}" 2018-03-02 20:48:36 +01:00
squote_in_varexp2.right hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quoting 2018-07-17 14:21:38 +02:00
squote_in_varexp2.tests hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quoting 2018-07-17 14:21:38 +02:00
squote_in_varexp3.right ash: parser: Add syntax stack for recursive parsing 2018-04-02 13:15:37 +02:00
squote_in_varexp3.tests ash: parser: Add syntax stack for recursive parsing 2018-04-02 13:15:37 +02:00
squote_in_varexp.right hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quoting 2018-07-17 14:21:38 +02:00
squote_in_varexp.tests hush: improve ${var#...}, ${var:+...} and ${var/.../...} - handle quoting 2018-07-17 14:21:38 +02:00
unicode_8x_chars.right
unicode_8x_chars.tests