Commit b868d823 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

cmd: Add test for substring handling in 'magic' variable expansion.

parent 29c0826e
......@@ -622,7 +622,13 @@ echo %WINE_VAR:~2,-1%
echo %WINE_VAR:~2,-3%
echo '%WINE_VAR:~-2,-4%'
echo %WINE_VAR:~-3,-2%
echo %WINE_VAR:~4,4%
set WINE_VAR=
mkdir dummydir
cd dummydir
echo %CD:~-6,6%
cd ..
rmdir dummydir
echo ------------ Testing variable substitution ------------
echo --- in FOR variables
......
......@@ -532,6 +532,8 @@ ert@or_broken@qwerty
e@or_broken@qwerty
''@or_broken@'qwerty'
r@or_broken@qwerty
ty
@todo_wine@mmydir
------------ Testing variable substitution ------------
--- in FOR variables
"A B"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment