mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 01:53:37 +00:00
cmd/tests: Show that read-only files are RENAMEable.
This commit is contained in:
parent
1f5c0a6170
commit
d5523fcd80
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue