hush: add support for ':'; create testsuite entries
text data bss dec hex filename 809569 612 7044 817225 c7849 busybox_old 809528 612 7044 817184 c7820 busybox_unstripped
This commit is contained in:
2
shell/hush_test/hush-bugs/glob_and_assign.right
Normal file
2
shell/hush_test/hush-bugs/glob_and_assign.right
Normal file
@ -0,0 +1,2 @@
|
||||
ZVAR=z.map
|
||||
*.map
|
3
shell/hush_test/zbad2 → shell/hush_test/hush-bugs/glob_and_assign.tests
Normal file → Executable file
3
shell/hush_test/zbad2 → shell/hush_test/hush-bugs/glob_and_assign.tests
Normal file → Executable file
@ -1,5 +1,3 @@
|
||||
## TODO: fix and add to testsuite
|
||||
|
||||
## # bash zbad2
|
||||
## ZVAR=z.map
|
||||
## *.map
|
||||
@ -17,3 +15,4 @@
|
||||
ZVAR=*.map /bin/echo ZVAR=*.map
|
||||
ZVAR=*.map
|
||||
echo "$ZVAR"
|
||||
rm ZVAR=z.map
|
1
shell/hush_test/hush-bugs/glob_and_vars.right
Normal file
1
shell/hush_test/hush-bugs/glob_and_vars.right
Normal file
@ -0,0 +1 @@
|
||||
./glob_and_vars.right ./glob_and_vars.tests
|
2
shell/hush_test/hush-bugs/glob_and_vars.tests
Executable file
2
shell/hush_test/hush-bugs/glob_and_vars.tests
Executable file
@ -0,0 +1,2 @@
|
||||
v=.
|
||||
echo $v/glob_and_vars.*
|
1
shell/hush_test/hush-bugs/while_in_subshell.right
Normal file
1
shell/hush_test/hush-bugs/while_in_subshell.right
Normal file
@ -0,0 +1 @@
|
||||
OK: 0
|
2
shell/hush_test/hush-bugs/while_in_subshell.tests
Executable file
2
shell/hush_test/hush-bugs/while_in_subshell.tests
Executable file
@ -0,0 +1,2 @@
|
||||
(while true; do exit; done)
|
||||
echo OK: $?
|
2
shell/hush_test/hush-misc/colon.right
Normal file
2
shell/hush_test/hush-misc/colon.right
Normal file
@ -0,0 +1,2 @@
|
||||
0
|
||||
OK: 0
|
6
shell/hush_test/hush-misc/colon.tests
Executable file
6
shell/hush_test/hush-misc/colon.tests
Executable file
@ -0,0 +1,6 @@
|
||||
false
|
||||
:
|
||||
echo $?
|
||||
# Extra ; after done is due to a bug
|
||||
(while :; do exit; done;)
|
||||
echo OK: $?
|
@ -1,3 +0,0 @@
|
||||
# TODO: hush doesn't know ':' null command
|
||||
|
||||
while :; do exit; done
|
Reference in New Issue
Block a user