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
9bad2feb
Commit
9bad2feb
authored
Mar 09, 2010
by
Yann Droneaud
Committed by
Alexandre Julliard
Mar 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Added some expansion tests.
parent
ef058b30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+15
-0
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+15
-0
No files found.
programs/cmd/tests/test_builtins.cmd
View file @
9bad2feb
...
...
@@ -23,6 +23,21 @@ cd dummydir
echo %~dp0
cd ..
rmdir dummydir
echo %CD%
echo %%
echo P%
echo %P
echo %UNKNOWN%S
echo P%UNKNOWN%
echo P%UNKNOWN%S
echo %ERRORLEVEL
echo %ERRORLEVEL%
echo %ERRORLEVEL%%ERRORLEVEL%
echo %ERRORLEVEL%%
echo %ERRORLEVEL%%%
echo P%ERRORLEVEL%
echo %ERRORLEVEL%S
echo P%ERRORLEVEL%S
echo ------------ Testing if/else --------------
echo if/else should work with blocks
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
9bad2feb
...
...
@@ -16,6 +16,21 @@ bar
~dp0 should be directory containing batch file
@pwd@\
@pwd@\
@pwd@
%
P
P
S
P
PS
ERRORLEVEL
0
00
0
0%
P0
0S
P0S
------------ Testing if/else --------------
if/else should work with blocks
if seems to work
...
...
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