diff options
author | Denys Vlasenko | 2010-08-05 17:19:27 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-08-05 17:19:27 +0200 |
commit | b0fbe4b5409b136e0c80788cf183ec24237e9c97 (patch) | |
tree | d5ef2215b48c894721801f0fe7184a347f91d669 /shell/ash_test/ash-vars/var_bash4.tests | |
parent | e74d79866c6d125527e3ba69245a087a28fd19ce (diff) | |
download | busybox-b0fbe4b5409b136e0c80788cf183ec24237e9c97.zip busybox-b0fbe4b5409b136e0c80788cf183ec24237e9c97.tar.gz |
ash: add a testcase for bug 2281 (currently fails). Small code cleanups.
function old new delta
changepath 195 192 -3
subevalvar 1204 1200 -4
readtoken1 3247 3240 -7
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-14) Total: -14 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-vars/var_bash4.tests')
-rwxr-xr-x | shell/ash_test/ash-vars/var_bash4.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ash_test/ash-vars/var_bash4.tests b/shell/ash_test/ash-vars/var_bash4.tests new file mode 100755 index 0000000..304b3d9 --- /dev/null +++ b/shell/ash_test/ash-vars/var_bash4.tests @@ -0,0 +1,3 @@ +FOO='a*b\*c' +echo "${FOO//\\*/-backslashstar-}" +echo Done: $? |