cmd/tests: Test multiple params rmdir.

This commit is contained in:
Frédéric Delanoy 2011-07-24 22:11:36 +02:00 committed by Alexandre Julliard
parent 9e57a09bb5
commit 414bd437a9
2 changed files with 16 additions and 0 deletions

View File

@ -430,6 +430,18 @@ if not exist foo (
rd foo\bar
rd foo
)
rem multiples directories at once
mkdir foobaz & cd foobaz
mkdir foo
mkdir bar\baz
mkdir foobar
rd /s/q foo bar foobar
if not exist foo (echo foo removed) else echo foo not removed!
if not exist bar (echo bar removed) else echo bar not removed!
if not exist foobar (echo foobar removed) else echo foobar not removed!
if not exist bar\baz (echo bar\baz removed) else echo bar\baz not removed!
cd ..
rd /s/q foobaz
echo ------------ Testing CALL --------------
mkdir foobar & cd foobar

View File

@ -210,6 +210,10 @@ non-empty dir not removed
non-empty dir not removed
recursive rmdir succeeded
recursive rmdir succeeded
foo removed
bar removed
foobar removed
bar\baz removed
------------ Testing CALL --------------
foo
foo 8