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
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
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
Olivier F. R. Dierick
wine
Commits
414bd437
Commit
414bd437
authored
13 years ago
by
Frédéric Delanoy
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cmd/tests: Test multiple params rmdir.
parent
9e57a09b
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
+12
-0
12 additions, 0 deletions
programs/cmd/tests/test_builtins.cmd
programs/cmd/tests/test_builtins.cmd.exp
+4
-0
4 additions, 0 deletions
programs/cmd/tests/test_builtins.cmd.exp
with
16 additions
and
0 deletions
programs/cmd/tests/test_builtins.cmd
+
12
−
0
View file @
414bd437
...
...
@@ -430,6 +430,18 @@ if not exist foo (
rd
foo
\bar
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
--------------
mkdir
foobar
&
cd
foobar
...
...
This diff is collapsed.
Click to expand it.
programs/cmd/tests/test_builtins.cmd.exp
+
4
−
0
View file @
414bd437
...
...
@@ -210,6 +210,10 @@ non-empty dir not removed
non-empty dir not removed
recursive rmdir succeeded
recursive rmdir succeeded
foo removed
bar removed
foobar removed
bar\baz removed
------------ Testing CALL --------------
foo
foo 8
...
...
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