projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hush: support ${var:EXPR:EXPR}!
[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 e09f4331780f7a29215f9250cbf428db36201bc7..aea36d62d535969f36779936352a46ca8e66251a 100755
(executable)
--- a/
shell/hush_test/hush-vars/var3.tests
+++ b/
shell/hush_test/hush-vars/var3.tests
@@
-1,4
+1,4
@@
# reject invalid vars
"$THIS_SH" -c 'echo ${1q}'
"$THIS_SH" -c 'echo ${&}'
-"$THIS_SH" -c 'echo ${$}'
+#"$THIS_SH" -c 'echo ${$}' -- this is valid as it's the same as $$