summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/param_expand_len.right
diff options
context:
space:
mode:
authorDenys Vlasenko2010-05-22 06:05:02 +0200
committerDenys Vlasenko2010-05-22 06:05:02 +0200
commit8a33679694b0fdf459d69868f85c081cab5687cb (patch)
treebe6d2ea8d9a5132d82939892736d2531877632e8 /shell/hush_test/hush-vars/param_expand_len.right
parent1e811b12317d0eab4e78d848caa640cca497a0a7 (diff)
downloadbusybox-8a33679694b0fdf459d69868f85c081cab5687cb.zip
busybox-8a33679694b0fdf459d69868f85c081cab5687cb.tar.gz
hush: fix "hush -c 'echo $#'" showing -1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars/param_expand_len.right')
-rw-r--r--shell/hush_test/hush-vars/param_expand_len.right5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/param_expand_len.right b/shell/hush_test/hush-vars/param_expand_len.right
index 2d633a1..96e8cb5 100644
--- a/shell/hush_test/hush-vars/param_expand_len.right
+++ b/shell/hush_test/hush-vars/param_expand_len.right
@@ -1,4 +1,9 @@
+0
+0
+1
+Make sure len parsing doesnt break arg count
0 0
4 4
+Testing len op
4 3 2 1 0 0
0 3 0