summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/var_posix1.tests
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-26 11:25:19 +0000
committerDenis Vlasenko2009-04-26 11:25:19 +0000
commit5b7589eb27e748a3d281c0341219cf7435e8b4f1 (patch)
treeb9565d8d331207ed37a3b9c0f654b500839d8ef6 /shell/hush_test/hush-vars/var_posix1.tests
parent80e57eb7d525803bb776e8294483141756b2b2ef (diff)
downloadbusybox-5b7589eb27e748a3d281c0341219cf7435e8b4f1.zip
busybox-5b7589eb27e748a3d281c0341219cf7435e8b4f1.tar.gz
hush: fix SEGV in % expansion
function old new delta expand_variables 2203 2217 +14
Diffstat (limited to 'shell/hush_test/hush-vars/var_posix1.tests')
-rwxr-xr-xshell/hush_test/hush-vars/var_posix1.tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/var_posix1.tests b/shell/hush_test/hush-vars/var_posix1.tests
index 3069360..c1f6409 100755
--- a/shell/hush_test/hush-vars/var_posix1.tests
+++ b/shell/hush_test/hush-vars/var_posix1.tests
@@ -43,5 +43,6 @@ echo ${var%*}
echo Empty:${var%%*}
echo ${var#}}_tail
# UNFIXED BUG: echo ${var#\}}_tail
+echo ${var%\\*}
echo end