cmd/tests: Test multiple params mkdir.

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

View File

@ -367,6 +367,15 @@ if not exist foo (
cd .. cd ..
rmdir foo rmdir foo
) )
rem multiples directories at once
mkdir foobaz & cd foobaz
mkdir foo bar\baz foobar
if exist foo (echo foo created) else echo foo not created!
if exist bar (echo bar created) else echo bar not created!
if exist foobar (echo foobar created) else echo foobar not created!
if exist bar\baz (echo bar\baz created) else echo bar\baz not created!
cd ..
rd /s/q foobaz
echo ----------- Testing rmdir ----------- echo ----------- Testing rmdir -----------
call :setError 0 call :setError 0

View File

@ -192,6 +192,10 @@ dir created
@todo_wine@ok, foo created @todo_wine@ok, foo created
@todo_wine@1 @todo_wine@1
@todo_wine@ok, foo\bar created @todo_wine@ok, foo\bar created
foo created
@todo_wine@bar created
@todo_wine@foobar created
@todo_wine@bar\baz created
----------- Testing rmdir ----------- ----------- Testing rmdir -----------
0 0
dir removed dir removed