cmd/tests: Add FOR tests for various quoted parameters.
This commit is contained in:
parent
ef70d88be0
commit
199f788c31
|
@ -434,6 +434,10 @@ for %%i in (@tab@ foo@tab@) do echo %%i
|
|||
for@tab@ %%i in@tab@(@tab@M) do echo %%i
|
||||
for %%i@tab@in (X)@tab@do@tab@echo %%i
|
||||
for@tab@ %%j in@tab@(@tab@M, N, O@tab@) do echo %%j
|
||||
for %%i in (`echo A B`) do echo %%i
|
||||
for %%i in ('echo A B') do echo %%i
|
||||
for %%i in ("echo A B") do echo %%i
|
||||
for %%i in ("A B" C) do echo %%i
|
||||
goto :endForTestFun1
|
||||
:forTestFun1
|
||||
echo %1
|
||||
|
|
|
@ -322,6 +322,15 @@ X
|
|||
M
|
||||
N
|
||||
O
|
||||
`echo
|
||||
A
|
||||
B`
|
||||
'echo
|
||||
A
|
||||
B'
|
||||
@todo_wine@"echo A B"
|
||||
@todo_wine@"A B"
|
||||
C
|
||||
...imbricated FORs
|
||||
@todo_wine@X Y
|
||||
@todo_wine@X Y
|
||||
|
|
Loading…
Reference in New Issue