Commit 14bdf6e7 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

cmd/tests: Test using %%0-%%9 as loop variables.

Based on a test case from Dimitry Sokolov. Signed-off-by: 's avatarEric Pouech <epouech@codeweavers.com>
parent 8ed36639
...@@ -744,6 +744,8 @@ echo '%~xs1' ...@@ -744,6 +744,8 @@ echo '%~xs1'
goto :eof goto :eof
:endEchoFuns :endEchoFuns
echo --- in digit variables
for %%0 in (a b) do echo %%0 %%1 %%2
echo ------------ Testing parameter zero ------------ echo ------------ Testing parameter zero ------------
call :func parm1 parm2 call :func parm1 parm2
goto :endParm0 goto :endParm0
......
...@@ -600,6 +600,9 @@ N ...@@ -600,6 +600,9 @@ N
@drive@ @drive@
'' ''
'.eh'@or_broken@'' '.eh'@or_broken@''
--- in digit variables
@todo_wine@a %1 %2
@todo_wine@b %1 %2
------------ Testing parameter zero ------------ ------------ Testing parameter zero ------------
:func parm1 :func parm1
[:func] [@drive@] [@path@] [test] [.cmd] [@drive@@shortpath@test.cmd] [:func] [@drive@] [@path@] [test] [.cmd] [@drive@@shortpath@test.cmd]
......
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