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
cb63445b
Commit
cb63445b
authored
Sep 11, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Sep 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Show that windows doesn't lock/prevent access to batch file during execution.
parent
d9659a65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+21
-0
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+5
-0
No files found.
programs/cmd/tests/test_builtins.cmd
View file @
cb63445b
...
...
@@ -1256,6 +1256,27 @@ echo echo non-builtin dir> dir.cmd
call dir /b
cd .. & rd /s/q foobar
echo ------------ Testing cmd invocation ------------
rem FIXME: only a stub ATM
echo ... a batch file can delete itself ...
echo del foo.cmd>foo.cmd
cmd /q /c foo.cmd
if not exist foo.cmd (
echo file correctly deleted
) else (
echo file should be deleted!
del foo.cmd
)
echo ... a batch file can alter itself ...
echo echo bar^>foo.cmd>foo.cmd
cmd /q /c foo.cmd > NUL 2>&1
if exist foo.cmd (
type foo.cmd
del foo.cmd
) else (
echo file not created!
)
echo ------------ Testing setlocal/endlocal ------------
call :setError 0
rem Note: setlocal EnableDelayedExtension already tested in the variable delayed expansion test section
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
cb63445b
...
...
@@ -723,6 +723,11 @@ foo ''
@todo_wine@1
@todo_wine@1
non-builtin dir
------------ Testing cmd invocation ------------
... a batch file can delete itself ...
@todo_wine@file correctly deleted
... a batch file can alter itself ...
@todo_wine@bar
------------ Testing setlocal/endlocal ------------
...enable/disable extensions
@todo_wine@ErrLev:@space@
...
...
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