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
1f5c0a61
Commit
1f5c0a61
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: Add tests for directories RENAMEs.
parent
699fb02d
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
+15
-0
15 additions, 0 deletions
programs/cmd/tests/test_builtins.cmd
programs/cmd/tests/test_builtins.cmd.exp
+3
-0
3 additions, 0 deletions
programs/cmd/tests/test_builtins.cmd.exp
with
18 additions
and
0 deletions
programs/cmd/tests/test_builtins.cmd
+
15
−
0
View file @
1f5c0a61
...
@@ -899,6 +899,21 @@ rem no-op
...
@@ -899,6 +899,21 @@ rem no-op
ren
foo
foo
ren
foo
foo
mkdir
baz
mkdir
baz
ren
foo
baz
\abc
ren
foo
baz
\abc
echo
...
rename
directories
...
mkdir
rep1
ren
rep1
rep2
if
not
exist
rep1
(
if
exist
rep2
(
echo
dir
renamed
)
)
attrib
+r
rep2
ren
rep2
rep1
if
not
exist
rep2
(
if
exist
rep1
(
echo
read
-only
dir
renamed
)
)
echo
...
rename
in
other
directory
...
echo
...
rename
in
other
directory
...
if
not
exist
baz
\abc
(
if
not
exist
baz
\abc
(
echo
rename
impossible
in
other
directory
echo
rename
impossible
in
other
directory
...
...
This diff is collapsed.
Click to expand it.
programs/cmd/tests/test_builtins.cmd.exp
+
3
−
0
View file @
1f5c0a61
...
@@ -601,6 +601,9 @@ bar renamed to foo
...
@@ -601,6 +601,9 @@ bar renamed to foo
... name collision ...
... name collision ...
foo
foo
bar
bar
... rename directories ...
dir renamed
read-only dir renamed
... rename in other directory ...
... rename in other directory ...
@todo_wine@rename impossible in other directory
@todo_wine@rename impossible in other directory
@todo_wine@original file still present
@todo_wine@original file still present
...
...
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