hush: fix a few more corner cases with empty-expanding `cmds`
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 5 Apr 2018 13:15:53 +0000 (15:15 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 5 Apr 2018 13:15:53 +0000 (15:15 +0200)
commit21b7f1b6b67f191ca187910a5fd4cd2cb1eb5353
tree3e9c5d63d0dd410b5fbd0eaf82cf051c105189a8
parent41d8f1081378ec79586d59e7d2a31380b6f95577
hush: fix a few more corner cases with empty-expanding `cmds`

See added testcases

function                                             old     new   delta
run_pipe                                            1723    1784     +61

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
shell/hush_test/hush-psubst/falsetick2.right [new file with mode: 0644]
shell/hush_test/hush-psubst/falsetick2.tests [new file with mode: 0755]
shell/hush_test/hush-redir/redir_backquote1.right [new file with mode: 0644]
shell/hush_test/hush-redir/redir_backquote1.tests [new file with mode: 0755]