diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-22 00:26:06 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-22 00:26:06 +0200 |
commit | a6ad397ea92cd9c53973243728d3e52640fe63ec (patch) | |
tree | 058f34aaf8877c15a1c667efaa491267f046c7e7 /shell/hush_test/hush-vars | |
parent | 7436950a7516d1f4498285ccc81bf6d926f3af5e (diff) | |
download | busybox-w32-a6ad397ea92cd9c53973243728d3e52640fe63ec.tar.gz busybox-w32-a6ad397ea92cd9c53973243728d3e52640fe63ec.tar.bz2 busybox-w32-a6ad397ea92cd9c53973243728d3e52640fe63ec.zip |
hush: fix more obscure ${var%...} cases
function old new delta
add_till_closing_paren 313 359 +46
builtin_exit 48 47 -1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars')
-rw-r--r-- | shell/hush_test/hush-vars/var_posix1.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-vars/var_posix1.tests | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/var_posix1.right b/shell/hush_test/hush-vars/var_posix1.right index 813437e2f..7ff618ad0 100644 --- a/shell/hush_test/hush-vars/var_posix1.right +++ b/shell/hush_test/hush-vars/var_posix1.right | |||
@@ -37,4 +37,5 @@ ababcdcd_tail | |||
37 | ababcdcd | 37 | ababcdcd |
38 | ab | 38 | ab |
39 | ab | 39 | ab |
40 | ab | ||
40 | End | 41 | End |
diff --git a/shell/hush_test/hush-vars/var_posix1.tests b/shell/hush_test/hush-vars/var_posix1.tests index e48fd98c7..82abe8198 100755 --- a/shell/hush_test/hush-vars/var_posix1.tests +++ b/shell/hush_test/hush-vars/var_posix1.tests | |||
@@ -47,5 +47,6 @@ echo ${var%\\*} | |||
47 | 47 | ||
48 | a=ab}; echo ${a%\}}; | 48 | a=ab}; echo ${a%\}}; |
49 | a=abc; c=c; echo ${a%${c}} | 49 | a=abc; c=c; echo ${a%${c}} |
50 | a=ab{{c; echo ${a%`echo {{c`} | ||
50 | 51 | ||
51 | echo End | 52 | echo End |