projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hush: make getch/peek functions directly called
[oweals/busybox.git]
/
shell
/
hush_test
/
hush-vars
/
param_expand_len.tests
diff --git
a/shell/hush_test/hush-vars/param_expand_len.tests
b/shell/hush_test/hush-vars/param_expand_len.tests
index fe20a45e957bf55e2af66a2fdf6d3107cac8d99a..369c8d456a8316c131de4c99dd6590d08a039a66 100755
(executable)
--- a/
shell/hush_test/hush-vars/param_expand_len.tests
+++ b/
shell/hush_test/hush-vars/param_expand_len.tests
@@
-15,3
+15,10
@@
unset e
f=abc
g=
echo ${#e} ${#f} ${#g}
+
+set -- a
+# This must be interpreted as: $# ("1"), then remove trailing "1".
+# IOW: empty result.
+echo Nothing:${##1}
+echo Nothing:${#%1}
+echo One:${##x}