Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
14bdf6e7
Commit
14bdf6e7
authored
May 06, 2024
by
Eric Pouech
Committed by
Alexandre Julliard
May 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/tests: Test using %%0-%%9 as loop variables.
Based on a test case from Dimitry Sokolov. Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
8ed36639
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+2
-0
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+3
-0
No files found.
programs/cmd/tests/test_builtins.cmd
View file @
14bdf6e7
...
...
@@ -744,6 +744,8 @@ echo '%~xs1'
goto :eof
:endEchoFuns
echo --- in digit variables
for %%0 in (a b) do echo %%0 %%1 %%2
echo ------------ Testing parameter zero ------------
call :func parm1 parm2
goto :endParm0
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
14bdf6e7
...
...
@@ -600,6 +600,9 @@ N
@drive@
''
'.eh'@or_broken@''
--- in digit variables
@todo_wine@a %1 %2
@todo_wine@b %1 %2
------------ Testing parameter zero ------------
:func parm1
[:func] [@drive@] [@path@] [test] [.cmd] [@drive@@shortpath@test.cmd]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment