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
414bd437
Commit
414bd437
authored
Jul 24, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jul 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/tests: Test multiple params rmdir.
parent
9e57a09b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+12
-0
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+4
-0
No files found.
programs/cmd/tests/test_builtins.cmd
View file @
414bd437
...
@@ -430,6 +430,18 @@ if not exist foo (
...
@@ -430,6 +430,18 @@ if not exist foo (
rd foo\bar
rd foo\bar
rd foo
rd foo
)
)
rem multiples directories at once
mkdir foobaz & cd foobaz
mkdir foo
mkdir bar\baz
mkdir foobar
rd /s/q foo bar foobar
if not exist foo (echo foo removed) else echo foo not removed!
if not exist bar (echo bar removed) else echo bar not removed!
if not exist foobar (echo foobar removed) else echo foobar not removed!
if not exist bar\baz (echo bar\baz removed) else echo bar\baz not removed!
cd ..
rd /s/q foobaz
echo ------------ Testing CALL --------------
echo ------------ Testing CALL --------------
mkdir foobar & cd foobar
mkdir foobar & cd foobar
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
414bd437
...
@@ -210,6 +210,10 @@ non-empty dir not removed
...
@@ -210,6 +210,10 @@ non-empty dir not removed
non-empty dir not removed
non-empty dir not removed
recursive rmdir succeeded
recursive rmdir succeeded
recursive rmdir succeeded
recursive rmdir succeeded
foo removed
bar removed
foobar removed
bar\baz removed
------------ Testing CALL --------------
------------ Testing CALL --------------
foo
foo
foo 8
foo 8
...
...
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