projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ash,hush: fix SIGCHLD interrupting read builtin
[oweals/busybox.git]
/
shell
/
hush_test
/
hush-vars
/
var3.tests
diff --git
a/shell/hush_test/hush-vars/var3.tests
b/shell/hush_test/hush-vars/var3.tests
index 2947fccee7ae98fdbe284bc111bd8ce83bfaaefb..97b102cbede2163e0bb3273da691882e3b5f9f5d 100755
(executable)
--- a/
shell/hush_test/hush-vars/var3.tests
+++ b/
shell/hush_test/hush-vars/var3.tests
@@
-1,4
+1
@@
-# reject invalid vars
-hush -c 'echo ${1q}'
-hush -c 'echo ${&}'
-hush -c 'echo ${$}'
+x=0; f() { local x=1; echo $x; local x; echo $x; unset x; echo $x; local x; echo $x; }; f; echo $x