Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
9bad2feb
Commit
9bad2feb
authored
15 years ago
by
Yann Droneaud
Committed by
Alexandre Julliard
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cmd: Added some expansion tests.
parent
ef058b30
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
programs/cmd/tests/test_builtins.cmd
+15
-0
15 additions, 0 deletions
programs/cmd/tests/test_builtins.cmd
programs/cmd/tests/test_builtins.cmd.exp
+15
-0
15 additions, 0 deletions
programs/cmd/tests/test_builtins.cmd.exp
with
30 additions
and
0 deletions
programs/cmd/tests/test_builtins.cmd
+
15
−
0
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
...
...
This diff is collapsed.
Click to expand it.
programs/cmd/tests/test_builtins.cmd.exp
+
15
−
0
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment