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
This commit is contained in:
1
shell/hush_test/hush-bugs/empty_for.right
Normal file
1
shell/hush_test/hush-bugs/empty_for.right
Normal file
@@ -0,0 +1 @@
|
||||
OK: 0
|
3
shell/hush_test/hush-bugs/empty_for.tests
Executable file
3
shell/hush_test/hush-bugs/empty_for.tests
Executable file
@@ -0,0 +1,3 @@
|
||||
false
|
||||
for a in; do echo "HELLO"; done
|
||||
echo OK: $?
|
@@ -1 +0,0 @@
|
||||
./glob_and_vars.right ./glob_and_vars.tests
|
@@ -1,2 +1,2 @@
|
||||
v=.
|
||||
echo $v/glob_and_vars.*
|
||||
echo $v/glob_and_vars.[tr]*
|
||||
|
Reference in New Issue
Block a user