cmd/tests: Show that read-only files are MOVEable.
This commit is contained in:
parent
c77395dc08
commit
ad9ae2b8ff
|
@ -932,6 +932,17 @@ if not exist bar (
|
|||
)
|
||||
type baz
|
||||
|
||||
attrib +r baz
|
||||
move baz bazro > nul 2>&1
|
||||
if not exist baz (
|
||||
if exist bazro (
|
||||
echo read-only files are moveable
|
||||
move bazro baz > nul 2>&1
|
||||
)
|
||||
) else (
|
||||
echo read-only file not moved!
|
||||
)
|
||||
attrib -r baz
|
||||
mkdir rep
|
||||
move baz rep > nul 2>&1
|
||||
if not exist baz (
|
||||
|
|
|
@ -609,6 +609,7 @@ bar
|
|||
file move succeeded
|
||||
@todo_wine@file move with overwrite succeeded@or_broken@file overwrite impossible!
|
||||
@todo_wine@bar@or_broken@baz
|
||||
@todo_wine@read-only files are moveable
|
||||
file moved in subdirectory
|
||||
@todo_wine@moving a file to itself is a no-op@or_broken@moving a file to itself should be a no-op!
|
||||
@todo_wine@ErrorLevel: 0@or_broken@ErrorLevel: 1
|
||||
|
|
Loading…
Reference in New Issue