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>
This commit is contained in:
1
shell/hush_test/hush-psubst/falsetick2.right
Normal file
1
shell/hush_test/hush-psubst/falsetick2.right
Normal file
@@ -0,0 +1 @@
|
||||
Two:2 v:[]
|
3
shell/hush_test/hush-psubst/falsetick2.tests
Executable file
3
shell/hush_test/hush-psubst/falsetick2.tests
Executable file
@@ -0,0 +1,3 @@
|
||||
v=v
|
||||
v=`exit 2` `false`
|
||||
echo Two:$? v:"[$v]"
|
Reference in New Issue
Block a user