hush: fix "$v" expansion in case patterns when v='[a]'
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 11 Apr 2018 11:47:59 +0000 (13:47 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 11 Apr 2018 11:47:59 +0000 (13:47 +0200)
commit34179956f96370f5a53e73073d984d62135cd037
treefb203652077aca11c41f69a66b948bc64873a126
parent680c3016a2dddc3edb4d79868a728e899638e2c4
hush: fix "$v" expansion in case patterns when v='[a]'

function                                             old     new   delta
run_list                                            1053    1063     +10
setup_redirects                                      311     320      +9
encode_then_expand_string                            135     142      +7
run_pipe                                            1784    1789      +5
expand_assignments                                    81      86      +5
expand_string_to_string                              124     125      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 6/0 up/down: 37/0)               Total: 37 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash_test/ash-quoting/case_glob1.right [new file with mode: 0644]
shell/ash_test/ash-quoting/case_glob1.tests [new file with mode: 0755]
shell/hush.c
shell/hush_test/hush-quoting/case_glob1.right [new file with mode: 0644]
shell/hush_test/hush-quoting/case_glob1.tests [new file with mode: 0755]