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 | |
parent | ce4acbbab664e9ab3432189f88b525f10553f674 (diff) | |
download | busybox-75bccfa375564337bfbd57e5d54f92e155a0b18b.zip busybox-75bccfa375564337bfbd57e5d54f92e155a0b18b.tar.gz |
hush: tweak tests
Diffstat (limited to 'shell/hush_test/hush-vars')
-rw-r--r-- | shell/hush_test/hush-vars/var_posix1.right | 36 | ||||
-rwxr-xr-x | shell/hush_test/hush-vars/var_posix1.tests | 36 |
2 files changed, 36 insertions, 36 deletions
diff --git a/shell/hush_test/hush-vars/var_posix1.right b/shell/hush_test/hush-vars/var_posix1.right index 702bbca..373b16c 100644 --- a/shell/hush_test/hush-vars/var_posix1.right +++ b/shell/hush_test/hush-vars/var_posix1.right @@ -1,19 +1,19 @@ - - - - - - - - - - - - - - - - +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: +Empty: abcdcd abcdcd abcdcd @@ -21,7 +21,7 @@ cdcd babcdcd babcdcd ababcdcd - +Empty: ababcd ababcd ababcd @@ -29,5 +29,5 @@ abab ababcdc ababcdc ababcdcd - +Empty: end 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 |