diff options
author | Denis Vlasenko | 2009-04-10 23:48:03 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-04-10 23:48:03 +0000 |
commit | 75bccfa375564337bfbd57e5d54f92e155a0b18b (patch) | |
tree | 87ca1e51928e8838379ff1683d990f259e87de43 /shell/hush_test/hush-vars/var_posix1.tests | |
parent | ce4acbbab664e9ab3432189f88b525f10553f674 (diff) | |
download | busybox-75bccfa375564337bfbd57e5d54f92e155a0b18b.zip busybox-75bccfa375564337bfbd57e5d54f92e155a0b18b.tar.gz |
hush: tweak tests
Diffstat (limited to 'shell/hush_test/hush-vars/var_posix1.tests')
-rwxr-xr-x | shell/hush_test/hush-vars/var_posix1.tests | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/shell/hush_test/hush-vars/var_posix1.tests b/shell/hush_test/hush-vars/var_posix1.tests index d3205b1..0ce531d 100755 --- a/shell/hush_test/hush-vars/var_posix1.tests +++ b/shell/hush_test/hush-vars/var_posix1.tests @@ -1,24 +1,24 @@ unset var -echo ${var#} -echo ${var##} -echo ${var#*} -echo ${var##*} -echo ${var%} -echo ${var%%} -echo ${var%*} -echo ${var%%*} +echo Empty:${var#} +echo Empty:${var##} +echo Empty:${var#*} +echo Empty:${var##*} +echo Empty:${var%} +echo Empty:${var%%} +echo Empty:${var%*} +echo Empty:${var%%*} var= -echo ${var#} -echo ${var##} -echo ${var#*} -echo ${var##*} -echo ${var%} -echo ${var%%} -echo ${var%*} -echo ${var%%*} +echo Empty:${var#} +echo Empty:${var##} +echo Empty:${var#*} +echo Empty:${var##*} +echo Empty:${var%} +echo Empty:${var%%} +echo Empty:${var%*} +echo Empty:${var%%*} var=ababcdcd @@ -29,7 +29,7 @@ echo ${var##a*b} echo ${var#?} echo ${var##?} echo ${var#*} -echo ${var##*} +echo Empty:${var##*} echo ${var%cd} echo ${var%%cd} @@ -38,6 +38,6 @@ echo ${var%%c*d} echo ${var%?} echo ${var%%?} echo ${var%*} -echo ${var%%*} +echo Empty:${var%%*} echo end |