http://bugs.winehq.org/show_bug.cgi?id=27741
Summary: Imbricated for loops parameters not expanded correctly Product: Wine Version: 1.3.24 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs@winehq.org ReportedBy: frederic.delanoy@gmail.com
Created an attachment (id=35491) --> (http://bugs.winehq.org/attachment.cgi?id=35491) +cmd log
Say your test_builtins.cmd looks like
@echo off for %%i in (A) do ( for %%j in (A) do ( call :myFun %%i %%j ))
goto :end :myFun echo %1 %2 goto :eof :end
and the test_builtins.cmd.exp contains "A A" as only line.
Then a test run gives:
batch.c:205: Test failed: unexpected char 0x69 position 0 in line 1 (got 'i A', wanted 'A A')