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
ce57ebe3
Commit
ce57ebe3
authored
Jul 29, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jul 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/tests: Additional CALL tests.
parent
7fb790f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+20
-0
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+12
-0
No files found.
programs/cmd/tests/test_builtins.cmd
View file @
ce57ebe3
...
...
@@ -542,6 +542,13 @@ rem External script
echo echo foo %%1> foo.cmd
call foo
call foo.cmd 8
echo echo %%1 %%2 > foo.cmd
call foo.cmd foo
call foo.cmd foo bar
call foo.cmd foo ""
call foo.cmd "" bar
call foo.cmd foo ''
call foo.cmd '' bar
del foo.cmd
rem Internal routines
call :testRoutine :testRoutine
...
...
@@ -550,6 +557,19 @@ goto :endTestRoutine
echo bar %1
goto :eof
:endTestRoutine
call :testRoutineArgs foo
call :testRoutineArgs foo bar
call :testRoutineArgs foo ""
call :testRoutineArgs "" bar
call :testRoutineArgs foo ''
call :testRoutineArgs '' bar
goto :endTestRoutineArgs
:testRoutineArgs
echo %1 %2
goto :eof
:endTestRoutineArgs
rem Should work for builtins...
call mkdir foo
echo %ErrorLevel%
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
ce57ebe3
...
...
@@ -288,7 +288,19 @@ bar\baz removed
------------ Testing CALL --------------
foo@space@
@todo_wine@foo 8
foo@space@@space@
foo bar@space@
@todo_wine@foo ""@space@
@todo_wine@"" bar@space@
foo ''@space@
'' bar@space@
bar :testRoutine
foo@space@
foo bar
@todo_wine@foo ""
@todo_wine@"" bar
foo ''
'' bar
@todo_wine@0
@todo_wine@foo created
@todo_wine@Should expand foobaz
...
...
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