busybox/shell/ash_test/ash-vars/param_expand_len.tests
Denys Vlasenko a62bc80571 ash testsuite: add most of hust tests which pass for ash
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-03 00:06:55 +02:00

18 lines
295 B
Plaintext
Executable File

"$THIS_SH" -c 'echo $#'
"$THIS_SH" -c 'echo $#' arg0
"$THIS_SH" -c 'echo $#' arg0 arg1
echo Make sure len parsing doesnt break arg count
set --
echo $# ${#}
set -- aaaa bbb cc d
echo $# ${#}
echo Testing len op
echo ${#1} ${#2} ${#3} ${#4} ${#5} ${#6}
unset e
f=abc
g=
echo ${#e} ${#f} ${#g}