Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8bc6ff9d
Commit
8bc6ff9d
authored
Feb 16, 2010
by
Dan Kegel
Committed by
Alexandre Julliard
Feb 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Add test to show ~dp0 should be directory containing batch file.
parent
9d63b914
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+9
-0
test_builtins.cmd.out
programs/cmd/tests/test_builtins.cmd.out
+4
-0
No files found.
programs/cmd/tests/test_builtins.cmd
View file @
8bc6ff9d
...
...
@@ -14,3 +14,12 @@ echo ------------ Testing 'set' --------------
echo set "FOO=bar" should not include the quotes in the variable value
set "FOO=bar"
echo %FOO%
echo ------------ Testing variable expansion --------------
echo ~dp0 should be directory containing batch file
echo %~dp0
mkdir dummydir
cd dummydir
echo %~dp0
cd ..
rmdir dummydir
programs/cmd/tests/test_builtins.cmd.out
View file @
8bc6ff9d
...
...
@@ -12,3 +12,7 @@ at-echoed-word
------------ Testing 'set' --------------
set "FOO=bar" should not include the quotes in the variable value
bar
------------ Testing variable expansion --------------
~dp0 should be directory containing batch file
@pwd@\
@pwd@\
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