Commit d5523fcd authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

cmd/tests: Show that read-only files are RENAMEable.

parent 1f5c0a61
......@@ -899,6 +899,17 @@ rem no-op
ren foo foo
mkdir baz
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 ...
mkdir rep1
ren rep1 rep2
......
......@@ -601,6 +601,8 @@ bar renamed to foo
... name collision ...
foo
bar
... rename read-only files ...
@todo_wine@read-only file renamed
... rename directories ...
dir renamed
read-only dir renamed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment