Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d5523fcd
Commit
d5523fcd
authored
Oct 14, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/tests: Show that read-only files are RENAMEable.
parent
1f5c0a61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
test_builtins.cmd
programs/cmd/tests/test_builtins.cmd
+11
-0
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+2
-0
No files found.
programs/cmd/tests/test_builtins.cmd
View file @
d5523fcd
...
@@ -899,6 +899,17 @@ rem no-op
...
@@ -899,6 +899,17 @@ rem no-op
ren foo foo
ren foo foo
mkdir baz
mkdir baz
ren foo baz\abc
ren foo baz\abc
echo ... rename read-only files ...
echo > file1
attrib +r file1
ren file1 file2
if not exist file1 (
if exist file2 (
echo read-only file renamed
)
) else (
echo read-only file not renamed!
)
echo ... rename directories ...
echo ... rename directories ...
mkdir rep1
mkdir rep1
ren rep1 rep2
ren rep1 rep2
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
d5523fcd
...
@@ -601,6 +601,8 @@ bar renamed to foo
...
@@ -601,6 +601,8 @@ bar renamed to foo
... name collision ...
... name collision ...
foo
foo
bar
bar
... rename read-only files ...
@todo_wine@read-only file renamed
... rename directories ...
... rename directories ...
dir renamed
dir renamed
read-only dir renamed
read-only dir renamed
...
...
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