summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/var_bash4.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2010-08-05 17:19:27 +0200
committerDenys Vlasenko2010-08-05 17:19:27 +0200
commitb0fbe4b5409b136e0c80788cf183ec24237e9c97 (patch)
treed5ef2215b48c894721801f0fe7184a347f91d669 /shell/ash_test/ash-vars/var_bash4.tests
parente74d79866c6d125527e3ba69245a087a28fd19ce (diff)
downloadbusybox-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-xshell/ash_test/ash-vars/var_bash4.tests3
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: $?