hush: fix hush-bugs/glob_and_vars.tests testcase:
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 16 Jun 2008 12:47:11 +0000 (12:47 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 16 Jun 2008 12:47:11 +0000 (12:47 -0000)
commit82dfec3e4e6d2b8354d901a525f9acff35369512
treea3ebda0c5f23bdaae1aba29d57b6793abf696785
parent31e128636535a58be64636c8de93a6dad8b39ac0
hush: fix hush-bugs/glob_and_vars.tests testcase:
 globbing is now done _after_ variable/`cmd` substitution

function                                             old     new   delta
expand_strvec_to_strvec                                7     353    +346
expand_variables                                    1348    1383     +35
add_string_to_strings                                  -      28     +28
globhack                                             114       -    -114
done_word                                            778     579    -199
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 2/1 up/down: 409/-313)           Total: 96 bytes
shell/hush.c
shell/hush_test/hush-bugs/empty_for.right [new file with mode: 0644]
shell/hush_test/hush-bugs/empty_for.tests [new file with mode: 0755]
shell/hush_test/hush-bugs/glob_and_vars.right [deleted file]
shell/hush_test/hush-bugs/glob_and_vars.tests
shell/hush_test/hush-vars/glob_and_vars.right [new file with mode: 0644]
shell/hush_test/hush-vars/glob_and_vars.tests [new file with mode: 0755]